summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc6
1 files changed, 2 insertions, 4 deletions
diff --git a/.bashrc b/.bashrc
index c9e8ca3..9fc3c8e 100644
--- a/.bashrc
+++ b/.bashrc
@@ -18,25 +18,23 @@ stty -ixon # disable Ctrl-S
# Save and reload the history after each command finishes
#export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
+# export GNUTERM='sixelgd enhanced truecolor font "arial,9"'
+#
OS=${OS:-$(~/bin/os)}
# Support different operating system environments
case $OS in
(arch|alpine)
- export GNUTERM='sixelgd enhanced truecolor font "arial,9"'
alias ls='ls --color=auto -v' ll='ls -AlFhv'
[ "$OS" = arch ] || trap 'printf "\e]2;${PWD/~/\~} ${BASH_COMMAND%ps1}\a"' DEBUG
;;
(Darwin)
- export GNUTERM='sixelgd enhanced truecolor size 1600,1200 font "arial,9"'
alias ls='ls -GF' ll='ls -AlGFhv'
alias ldd='otool -L'
alias ibrew='arch -x86_64 /usr/local/bin/brew'
- trap 'printf "\e]2;${PWD/~/\~} ${BASH_COMMAND%update_terminal_cwd}\a"' DEBUG
;;
(termux)
PATH=~/bin:${HOME%/*}/usr/bin:~/go/bin
- export GNUTERM='sixelgd enhanced truecolor font "arial,9"'
type eza >/dev/null && alias ls='eza' ll='eza -lao --no-user --no-permissions' ||
alias ls='ls --color=auto -v' ll='ls -AlFhv'
;;