diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index bba2d370..237733db 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -7,7 +7,7 @@ export ZSH=$HOME/.oh-my-zsh # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded. # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes -ZSH_THEME="robbyrussell" +ZSH_THEME="agnoster" # Set list of themes to load # Setting this variable when ZSH_THEME=random @@ -89,6 +89,23 @@ source $ZSH/oh-my-zsh.sh # users are encouraged to define aliases within the ZSH_CUSTOM folder. # For a full list of active aliases, run `alias`. # -# Example aliases -# alias zshconfig="mate ~/.zshrc" -# alias ohmyzsh="mate ~/.oh-my-zsh" + +# Aliases + +alias ll='ls -lah ' +alias zshconfig="nano ~/.zshrc " +alias zshrefresh=". ~/.zshrc " +alias c="clear " +alias open="xdg-open " +fp() { + if [ $# -lt 1 ]; then + echo "Missing argument"; + return 1; + fi + + for f in "$@"; do + mkdir -p -- "$(dirname -- "$f")" + touch -- "$f" + done +} +