62 lines
1.5 KiB
Bash
62 lines
1.5 KiB
Bash
#!/bin/sh
|
|
|
|
alias .evim='$EDITOR $HOME/.config/vim/vimrc'
|
|
alias .ebspwm='$EDITOR $HOME/.config/bspwm/bspwmrc'
|
|
alias .eqb='$EDITOR $HOME/.config/qutebrowser/config.py'
|
|
alias .ezsh='$EDITOR $HOME/.config/zsh/.zshrc'
|
|
alias .f='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
|
|
|
|
alias aliases='$EDITOR ~/.config/aliasrc && source ~/.config/aliasrc'
|
|
alias artisan='./artisan'
|
|
|
|
alias bfg='java -jar ~/tools/bfg-1.13.0.jar'
|
|
|
|
alias clip='xclip -selection clipboard'
|
|
alias cp='cp -iv'
|
|
|
|
alias df='df -h'
|
|
alias doas='doas -- '
|
|
alias doasu='\doas -u '
|
|
alias dotfiles='.f'
|
|
alias dotfiles-mail='.fm'
|
|
alias du='du -h'
|
|
|
|
alias free='free -h'
|
|
|
|
alias grep='grep --color=auto'
|
|
alias grep-highlight='grep -e "^" -e'
|
|
|
|
alias hist-grep='history 0 | grep '
|
|
|
|
alias icat="kitty +kitten icat"
|
|
alias ip='ip -c'
|
|
|
|
alias j='jump'
|
|
|
|
alias less='less -FS'
|
|
alias ls='ls -lFh --color=auto'
|
|
|
|
alias lsblk='lsblk -o +PARTLABEL -o +FSTYPE'
|
|
|
|
alias make='make -j5'
|
|
alias mkdir='mkdir -pv'
|
|
alias mv='mv -iv'
|
|
|
|
alias pacman-autoremove='pacman -Rns $(pacman -Qtdq)'
|
|
|
|
alias qutebrowser-kiosk='qutebrowser -B $XDG_DATA_HOME/qutebrowser-kiosk -C $XDG_CONFIG_HOME/qutebrowser/config-kiosk.py'
|
|
|
|
alias rm='rm -I --one-file-system -v'
|
|
|
|
alias sudo='sudo '
|
|
|
|
alias watch='watch -c'
|
|
alias wget='wget -c'
|
|
|
|
### conditionals
|
|
|
|
[ -x "$(command -v bat)" ] && alias cat='bat -pp'
|
|
|
|
[ -x "$(command -v exa)" ] && alias ls='exa -lhF --git --icons --color=always --color-scale --time-style=long-iso'
|
|
|
|
[[ $TERM == "xterm-kitty" ]] && alias ssh="kitty +kitten ssh"
|