2021-04-01 17:00:33 +00:00
|
|
|
#!/bin/sh
|
2020-01-12 00:54:38 +00:00
|
|
|
|
2021-02-25 13:10:50 +00:00
|
|
|
alias .evim='$EDITOR $HOME/.config/vim/vimrc'
|
|
|
|
alias .ebspwm='$EDITOR $HOME/.config/bspwm/bspwmrc'
|
|
|
|
alias .eqb='$EDITOR $HOME/.config/qutebrowser/config.py'
|
2021-04-09 17:15:28 +00:00
|
|
|
alias .ezsh='$EDITOR $HOME/.config/zsh/.zshrc'
|
2020-09-27 10:10:50 +00:00
|
|
|
alias .f='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
|
|
|
|
2021-02-25 13:10:50 +00:00
|
|
|
alias aliases='$EDITOR ~/.config/aliasrc && source ~/.config/aliasrc'
|
2021-07-21 22:37:11 +00:00
|
|
|
alias artisan='./artisan'
|
2019-12-20 11:22:51 +00:00
|
|
|
|
2020-12-23 15:39:36 +00:00
|
|
|
alias bfg='java -jar ~/tools/bfg-1.13.0.jar'
|
|
|
|
|
2021-03-19 10:55:52 +00:00
|
|
|
alias clip='xclip -selection clipboard'
|
2021-02-13 21:52:08 +00:00
|
|
|
alias cp='cp -iv'
|
2020-09-26 22:28:51 +00:00
|
|
|
|
2019-12-20 11:22:51 +00:00
|
|
|
alias df='df -h'
|
2021-01-31 13:42:35 +00:00
|
|
|
alias doas='doas -- '
|
2021-02-19 12:02:34 +00:00
|
|
|
alias doasu='\doas -u '
|
2020-09-27 10:10:50 +00:00
|
|
|
alias dotfiles='.f'
|
|
|
|
alias dotfiles-mail='.fm'
|
2020-06-26 16:21:39 +00:00
|
|
|
alias du='du -h'
|
2019-12-20 11:22:51 +00:00
|
|
|
|
2020-08-18 09:40:28 +00:00
|
|
|
alias free='free -h'
|
|
|
|
|
2020-09-26 22:28:51 +00:00
|
|
|
alias grep='grep --color=auto'
|
2021-02-23 15:33:23 +00:00
|
|
|
alias grep-highlight='grep -e "^" -e'
|
2019-12-20 11:22:51 +00:00
|
|
|
|
2020-08-28 10:53:09 +00:00
|
|
|
alias hist-grep='history 0 | grep '
|
2020-03-01 15:12:18 +00:00
|
|
|
|
2021-04-16 10:07:15 +00:00
|
|
|
alias icat="kitty +kitten icat"
|
2021-03-19 10:55:52 +00:00
|
|
|
alias ip='ip -c'
|
|
|
|
|
2021-01-04 15:34:53 +00:00
|
|
|
alias j='jump'
|
|
|
|
|
2021-02-13 21:52:08 +00:00
|
|
|
alias less='less -FS'
|
|
|
|
alias ls='ls -lFh --color=auto'
|
2019-12-20 11:22:51 +00:00
|
|
|
|
|
|
|
alias lsblk='lsblk -o +PARTLABEL -o +FSTYPE'
|
|
|
|
|
2020-07-15 13:50:56 +00:00
|
|
|
alias make='make -j5'
|
2021-02-13 21:52:08 +00:00
|
|
|
alias mkdir='mkdir -pv'
|
|
|
|
alias mv='mv -iv'
|
2019-12-20 11:22:51 +00:00
|
|
|
|
2020-01-20 22:31:41 +00:00
|
|
|
alias pacman-autoremove='pacman -Rns $(pacman -Qtdq)'
|
2019-12-20 11:22:51 +00:00
|
|
|
|
2021-02-23 15:33:23 +00:00
|
|
|
alias qutebrowser-kiosk='qutebrowser -B $XDG_DATA_HOME/qutebrowser-kiosk -C $XDG_CONFIG_HOME/qutebrowser/config-kiosk.py'
|
2020-10-07 11:53:05 +00:00
|
|
|
|
2020-08-18 09:40:28 +00:00
|
|
|
alias rm='rm -I --one-file-system -v'
|
2020-12-26 15:28:16 +00:00
|
|
|
|
|
|
|
alias sudo='sudo '
|
2020-12-30 16:41:09 +00:00
|
|
|
|
2021-04-30 14:31:30 +00:00
|
|
|
alias watch='watch -c'
|
2021-02-13 21:52:08 +00:00
|
|
|
alias wget='wget -c'
|
|
|
|
|
2020-12-30 16:41:09 +00:00
|
|
|
### conditionals
|
|
|
|
|
|
|
|
[ -x "$(command -v bat)" ] && alias cat='bat -pp'
|
|
|
|
|
2021-03-19 13:45:10 +00:00
|
|
|
[ -x "$(command -v exa)" ] && alias ls='exa -lhF --git --icons --color=always --color-scale --time-style=long-iso'
|
2021-04-16 15:37:17 +00:00
|
|
|
|
|
|
|
[[ $TERM == "xterm-kitty" ]] && alias ssh="kitty +kitten ssh"
|