mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
27 lines
809 B
Bash
Executable file
27 lines
809 B
Bash
Executable file
# source ~/Projects/zsh-custom/init.zsh
|
|
# backup for new installs..zshrc should be light
|
|
# export ZSH=$HOME/.oh-my-zsh
|
|
# export ZSH_CUSTOM=/Users/michaelwclark/Projects/zsh-custom/
|
|
# export ZSH_THEME="dallas"
|
|
# source $ZSH/oh-my-zsh.sh
|
|
export NVM_DIR="$HOME/.nvm"
|
|
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm
|
|
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
|
|
|
|
|
|
|
|
# Sync changes
|
|
cwd=$(pwd)
|
|
|
|
echo $THIS_CWD
|
|
cd ~/.oh-my-zsh
|
|
git pull
|
|
git add .
|
|
git commit -m "update"
|
|
git push mine master
|
|
cd $cwd
|
|
|
|
bindkey "\e[1;3D" backward-word # ⌥←
|
|
bindkey "\e[1;3C" forward-word # ⌥→
|
|
bindkey "^[[1;9D" beginning-of-line # cmd+←
|
|
bindkey "^[[1;9C" end-of-line # cmd+→
|