1
0
Fork 0

bash: remove unnecessary, update the rest; zsh: minor tweaks

This commit is contained in:
Von Random 2022-08-22 02:57:33 +03:00
parent ec982fd1b0
commit cfa47c3630
3 changed files with 12 additions and 48 deletions

View file

@ -1,5 +1,5 @@
# some distributions love to force some aliases upon user :<
unalias ls ll ld 2>/dev/null
unalias ls ld ll 2>/dev/null
beep() { printf $'\007' }
fixterm() { printf $'c' }
@ -15,7 +15,7 @@ if [[ -x $(whence -p exa) ]]; then
ll() { ls -alg $@ }
ld() { ls -dlg $@ }
else
ls() { command ls --color=auto $@ }
ls() { command ls --color=auto --group-directories-first $@ }
ll() { ls -alh $@ }
ld() { ls -dlh $@ }
fi
@ -56,9 +56,6 @@ atmux() { tmux attach || tmux }
# sudo
sush() { command sudo -Es }
# vim
vi() { command vim $@ }
# grc
if [[ -x $(whence -p grc) ]]; then
cmds=(\

View file

@ -20,8 +20,8 @@ typeset -A prompt_symbols=(
typeset -A prompt_colors=(
fg 15
user 53
ssh 90
root 52
ssh 90
host 237
cwd 234
ro 124