devconf/shell/.zcustom/alias.zsh
2023-11-12 19:23:55 +01:00

17 lines
437 B
Bash

#########################################
# Aliases #
#########################################
alias gitroot='cd $(git rev-parse --show-toplevel)'
alias dc-up="docker-compose up"
alias dc-upd="docker-compose up -d"
alias dc-down="docker-compose down"
if [[ -n "$(command -v nvim)" ]]; then
alias oldvim='vim'
alias vim='nvim'
fi
if [[ $(uname -s) != "Darwin" ]]; then
alias open="xdg-open"
fi