diff --git a/.oh-my-zsh/custom/custom_alias.zsh b/.oh-my-zsh/custom/custom_alias.zsh new file mode 100644 index 0000000..8e736d4 --- /dev/null +++ b/.oh-my-zsh/custom/custom_alias.zsh @@ -0,0 +1,2 @@ +# This line allows the word 'custom' to specify the dotfiles bare git repo +alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' diff --git a/.zshrc b/.zshrc index ef2205c..7e24a5d 100644 --- a/.zshrc +++ b/.zshrc @@ -118,9 +118,6 @@ fi # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" -# Added this for dotfiles alias, may want to make a custom config folder later. -alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME' - [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh export FZF_DEFAULT_COMMAND='fdfind --type f'