devconf/shell/.zcustom/alias.zsh
2024-02-22 11:57:35 +01:00

19 lines
474 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
alias kubectl="minikube kubectl --"