devconf/.zcustom/alias.zsh

20 lines
584 B
Bash
Raw Normal View History

2020-02-18 21:26:59 +00:00
#########################################
# Aliases #
#########################################
alias open="xdg-open"
2020-11-23 11:56:57 +00:00
alias gitroot='cd $(git rev-parse --show-toplevel)'
2020-02-18 21:26:59 +00:00
alias dc-up="docker-compose up"
alias dc-upd="docker-compose up -d"
alias dc-down="docker-compose down"
alias dl-wpcli="wget https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar"
alias dl-wp="curl https://wordpress.org/latest.tar.gz | tar -xzv"
alias gpgcb="xsel --clipboard | sed 's/^ *//g' | gpg2 -d"
2020-03-09 15:19:35 +00:00
2021-02-15 00:19:18 +00:00
if [ -n "$(command -v nvim)" ]; then
2020-03-09 15:19:35 +00:00
alias oldvim='vim'
2021-02-15 00:19:18 +00:00
alias vim='nvim'
2020-07-05 17:50:21 +00:00
fi