Override default configuration

This commit is contained in:
Adphi 2018-04-19 16:46:49 +02:00
parent 4fec0a46e7
commit 71b2018f1f

View File

@ -7,7 +7,7 @@ export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random" # 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. # it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="robbyrussell" ZSH_THEME="agnoster"
# Set list of themes to load # Set list of themes to load
# Setting this variable when ZSH_THEME=random # 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. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`. # For a full list of active aliases, run `alias`.
# #
# Example aliases
# alias zshconfig="mate ~/.zshrc" # Aliases
# alias ohmyzsh="mate ~/.oh-my-zsh"
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
}