Move zsh configs

This commit is contained in:
Oliver Davies 2020-01-14 14:57:48 +00:00
parent bde71986a4
commit 78eff56e53
6 changed files with 4 additions and 26 deletions

2
rcrc
View file

@ -1,4 +1,4 @@
DOTFILES_DIRS="$HOME/dotfiles-local $HOME/dotfiles"
EXCLUDES="install.sh README.md"
SYMLINK_DIRS="composer bin functions zsh_profile.d"
SYMLINK_DIRS="composer bin functions configs"
TAGS="git npm php tmux vim zsh"

View file

@ -1,14 +1,3 @@
alias ga="git add"
alias gc="git commit"
alias gca="git commit --amend --no-edit --reset-author"
alias gcm="git commit -m"
alias gl="git log"
alias gs="git status"
alias gh="github"
alias nah="git reset --hard && git clean -fd"
alias wip="git add . && git commit -m 'wip'"
alias l="ls -lah"
# Fast open
@ -20,9 +9,6 @@ alias pstorm="phpstorm"
alias st="subl"
alias stt="subl ."
# Quickly go to the Code directory
alias web="cd ~/Code"
alias y=yarn
alias ya='yarn add'
alias yd="yarn dev"
@ -30,19 +16,10 @@ alias yp="yarn prod"
alias ys="yarn serve"
alias yw="yarn watch"
# Shorter Git commands.
alias add='git add'
alias amend='git commit --amend'
alias clone='git clone'
alias commit='git commit'
alias pull='git pull'
alias push='git push'
alias rebase='git rebase'
alias reset='git reset'
alias hosts="sudo vim /etc/hosts"
alias sshconfig='vim ~/.ssh/config'
alias zshconfig='vim ~/.zshrc'
# Pretty print the path
alias path='echo $PATH | tr -s ":" "\n"'
@ -51,5 +28,6 @@ alias pstorm='open -a /Applications/PhpStorm.app "`pwd`"'
# Sublime Text
alias sublime='open -a /Applications/Sublime\ Text.app "`pwd`"'
# Include custom aliases
[[ -f ~/.aliases.local ]] && source ~/.aliases.local

View file

@ -98,7 +98,7 @@ for function in $HOME/.zsh/functions/*; do
source $function
done
for zsh_source in $HOME/.zsh_profile.d/*.zsh; do
for zsh_source in $HOME/.zsh/configs/*.zsh; do
source $zsh_source
done