devconf/shell/.zcustom/alias.zsh

18 lines
437 B
Bash
Raw Normal View History

2020-02-18 21:26:59 +00:00
#########################################
2022-04-28 08:41:40 +00:00
# Aliases #
2020-02-18 21:26:59 +00:00
#########################################
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"
2022-04-28 08:41:40 +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
2022-04-28 08:41:40 +00:00
if [[ $(uname -s) != "Darwin" ]]; then
alias open="xdg-open"
fi