2020-04-07 22:24:30 +02:00
|
|
|
alias bashrc="vim ~/.bashrc"
|
|
|
|
alias aliasrc="vim ~/.aliasrc"
|
|
|
|
|
2020-05-07 02:09:35 +02:00
|
|
|
alias ..="cd .."
|
|
|
|
alias ...="cd ../.."
|
|
|
|
|
2020-08-18 18:22:50 +02:00
|
|
|
# Colorize output
|
2020-04-07 22:24:30 +02:00
|
|
|
alias ls="ls --color=auto"
|
|
|
|
alias grep="grep --color=auto"
|
2020-08-18 18:22:50 +02:00
|
|
|
alias ip='ip --color'
|
2020-04-07 22:24:30 +02:00
|
|
|
|
2020-04-08 21:21:32 +02:00
|
|
|
alias l='ls -1'
|
|
|
|
alias ll='ls -lh'
|
2020-04-07 22:24:30 +02:00
|
|
|
alias la='ls -lha'
|
|
|
|
|
|
|
|
alias lgrep='l . | grep'
|
|
|
|
alias lagrep='la . | grep'
|
|
|
|
|
2020-10-18 16:12:08 +02:00
|
|
|
# Pretty print path variables
|
|
|
|
alias path='echo -e ${PATH//:/\\n}'
|
2020-08-18 18:22:50 +02:00
|
|
|
|
2020-05-07 02:09:35 +02:00
|
|
|
alias fzfpac="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S"
|
|
|
|
|
2020-04-07 22:24:30 +02:00
|
|
|
alias vi='vim'
|
|
|
|
alias py='python'
|
2020-11-02 11:54:51 +01:00
|
|
|
alias r5rs='plt-r5rs --no-prim'
|
2020-04-07 22:24:30 +02:00
|
|
|
alias cfg='/usr/bin/git --git-dir=/home/h/.cfg/ --work-tree=/home/h'
|
2020-05-07 16:08:53 +02:00
|
|
|
|
|
|
|
alias tmuxl='tmux list-sessions'
|
|
|
|
alias tmuxs='tmux new-session -s'
|
|
|
|
alias tmuxk='tmux kill-session -t'
|
|
|
|
|
2020-04-08 19:52:42 +02:00
|
|
|
alias lm='xbacklight -set'
|
2020-05-13 19:06:19 +02:00
|
|
|
alias bat='check-battery-level'
|
2020-05-07 16:08:53 +02:00
|
|
|
alias now='date "+%I:%M %a %d %b"'
|
2020-05-07 02:09:35 +02:00
|
|
|
alias spot='ncspot'
|
|
|
|
alias todo='todoist'
|
2020-04-15 13:29:03 +02:00
|
|
|
alias weather='curl wttr.in'
|
2020-10-18 16:12:08 +02:00
|
|
|
alias zzz='systemctl suspend && exit'
|