mirror of
https://github.com/JanJastrow/.dotfiles.git
synced 2024-11-22 02:29:57 +01:00
Compare commits
No commits in common. "d48a59e74b8317c3008f690584b9b2baf702fab3" and "ff8d4a638d7cd7151e461404c59bb88445b63aae" have entirely different histories.
d48a59e74b
...
ff8d4a638d
13
zsh/alias
13
zsh/alias
@ -11,9 +11,9 @@ elif [[ $platform == 'macOS' ]]; then
|
||||
alias bls='/bin/ls -lahG'
|
||||
fi
|
||||
|
||||
# Better eza
|
||||
if [[ -x $(which eza) ]]; then
|
||||
alias eza='pwd; eza --long --all --all --group-directories-first --git --group'
|
||||
# Better exa
|
||||
if [[ -x $(which exa) ]]; then
|
||||
alias exa='pwd; exa --long --all --all --group-directories-first --git --group'
|
||||
# --all (2x) to show `.` and `..` directories as well
|
||||
fi
|
||||
|
||||
@ -54,13 +54,17 @@ 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 extract
|
||||
# tar
|
||||
alias untargz='tar -xzvf'
|
||||
|
||||
# (macOS) start Firefox Profile manager
|
||||
@ -71,6 +75,7 @@ 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'
|
||||
|
Loading…
Reference in New Issue
Block a user