Updated aliases

This commit is contained in:
2021-12-15 11:25:09 -05:00
parent 98fe795dd0
commit 955f28957d

View File

@@ -1,12 +1,34 @@
# configure aliases
#alias zshconfig="$ZDOTDIR"
# _ _
# ( ) (_ ) _
# ____ ___ | |__ ______ _ _ | | (_) _ _ ___ __ ___
# (_ ,)/',__)| _ `\(______) /'_` ) | | | | /'_` )/',__) /'__`\/',__)
# /'/_ \__, \| | | | ( (_| | | | | |( (_| |\__, \( ___/\__, \
# (____)(____/(_) (_) `\__,_)(___)(_)`\__,_)(____/`\____)(____/
# clear the terminal
alias cl() { clear }
# move into the ~/.dotfiles directory
alias cdots() { cd "$HOME/.dotfiles" }
# move into zsh config files
alias zdots() { nvim "$ZDOTDIR" }
# open dotfiles in nvim editor
alias dots() { nvim ~/.dotfiles }
# reload the zsh shell
alias reload() { source "$ZDOTDIR/.zshrc" }
# print the banner
alias banner() { clear && cat < "$ZDOTDIR/banner" }
# create a directory and move into it.
alias mkcd() { mkdir $1 && cd $1 }
# list files and directories, including hidden files
alias l() { ls -lah "$@" }
# editor