Skip to content

Commit

Permalink
rmv
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-gorse committed Oct 2, 2021
1 parent ac39d44 commit 16a698c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
12 changes: 10 additions & 2 deletions python/config.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,19 @@ case `uname` in
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
export PATH="$PYENV_ROOT/shims:$PATH"
alias virt='foo(){ pyenv activate "$1" }; foo '
;;
Linux)
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
export PATH="$PYENV_ROOT/shims:$PATH"
alias virt='foo(){ pyenv activate "$1" }; foo '
# commands for Linux go here
export WORKON_HOME=$HOME/.virtualenvs
source $HOME/.local/bin/virtualenvwrapper.sh
# export WORKON_HOME=$HOME/.virtualenvs
# source $HOME/.local/bin/virtualenvwrapper.sh
# alias virt='foo(){ workon "$1" }; foo '
;;
FreeBSD)
# commands for FreeBSD go here
Expand Down
1 change: 1 addition & 0 deletions rvm/rvm.zlogin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
1 change: 1 addition & 0 deletions zsh/alias.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ alias vzrc='vim $HOME/.dotfiles/zsh/zshrc.symlink'
alias rl!='. $HOME/.zshrc'
alias mkcd='foo(){ mkdir -p "$1"; cd "$1" }; foo '
alias touchv='foa(){ touch "$1"; vim "$1" }; foa '
alias touchr='foa(){ touch "$1"; rmate "$1" }; foa '
alias lv='vim $_'
alias vl='less $_'
alias cv='cat $_'
Expand Down
2 changes: 1 addition & 1 deletion zsh/path.zsh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export PATH="$HOME/local/bin:$HOME/local/sbin:$HOME/.local/bin:$PATH"
export PATH="$HOME/.rvm/bin:$HOME/local/bin:$HOME/local/sbin:$HOME/.local/bin:$PATH"
2 changes: 2 additions & 0 deletions zsh/zlogin.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ for file in ${zlogin_files[@]}
do
call_file ${file} "zlogin"
done


0 comments on commit 16a698c

Please sign in to comment.