Compare commits

...

2 Commits

Author SHA1 Message Date
d48a59e74b Minor cleanup 2023-09-08 02:53:12 +02:00
597bb08e39 Move from exa to eza 2023-09-08 02:52:53 +02:00
2 changed files with 6 additions and 11 deletions

View File

@ -11,9 +11,9 @@ elif [[ $platform == 'macOS' ]]; then
alias bls='/bin/ls -lahG'
fi
# Better exa
if [[ -x $(which exa) ]]; then
alias exa='pwd; exa --long --all --all --group-directories-first --git --group'
# Better eza
if [[ -x $(which eza) ]]; then
alias eza='pwd; eza --long --all --all --group-directories-first --git --group'
# --all (2x) to show `.` and `..` directories as well
fi
@ -54,17 +54,13 @@ fi
# youtube-dl(p) - Download only best MP4
alias ytmp4='ydl -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4"'
# rsync; archive, progress, partial, relative, humanreadable (add -z for compression)
alias rrsync='rsync -avhP'
# better scp
alias bcp='rsync -avzuh --progress --partial'
# generate pseudo-random hash
alias random32='echo $(date +%s | md5sum | head -c 32)'
# tar
# tar extract
alias untargz='tar -xzvf'
# (macOS) start Firefox Profile manager
@ -75,7 +71,6 @@ fi
# zspotify (Docker)
alias zspotify='docker run -v ${HOME}/.zspotify:/root/.zspotify -v ${HOME}/Music:/root/Music -it jsavargas/zspotify'
# git
alias gadd='git add'
alias gclone='git clone'

View File

@ -13,8 +13,8 @@ export EDITOR="nano"
# set `ll` command - b(etter)ls per default
alias ll=bls
if test -f "$homebrew_path/exa"; then
alias ll=exa
if test -f "$homebrew_path/eza"; then
alias ll=eza
fi
if test -f "$homebrew_path/lsd"; then
alias ll=lsd