-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.aliases
20 lines (18 loc) · 871 Bytes
/
.aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
alias top='htop'
alias g='git status'
alias uu='yay --noconfirm -Syyu --needed --devel'
alias lsorphans='sudo pacman -Qdt'
alias rmorphans='sudo pacman -Rns $(lsorphans| cut -d " " -f 1)'
# List aliases
alias df='df -h'
alias sortmirrors='sudo reflector --verbose -c Germany -c France -c Italy -l 200 -p http --sort rate --save /etc/pacman.d/mirrorlist; sudo pacman -Syyu'
alias gl='git log --oneline'
alias more='bat --decorations never'
# Utils
alias npmscripts='jq .scripts package.json'
alias task='go-task'
alias docker-stop-all='docker stop $(docker ps -aq)'
alias docker-rm-all='docker rm $(docker ps -aq)'
alias git-add-remote-refs='git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" && git fetch -Ppaf'
alias lw='cd $HOME/repos/$(choose-worktree.sh | cut -d";" -f2)'
alias dps='docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}"'