2 changed files with 20 additions and 8 deletions
@ -1,2 +1,19 @@ |
|||||||
#!/bin/zsh |
#!/bin/zsh |
||||||
|
|
||||||
|
if [[ "$OSTYPE" == linux-gnu* ]]; then |
||||||
|
export PATH="/usr/local/bin:$PATH" |
||||||
|
export PYENV_ROOT="$HOME/.pyenv" |
||||||
|
|
||||||
|
[[ -d "$PYENV_ROOT/bin" ]] && export PATH="$PYENV_ROOT/bin:$PATH" |
||||||
|
|
||||||
|
if command -v pyenv >/dev/null 2>&1; then |
||||||
|
eval "$(pyenv init -)" |
||||||
|
|
||||||
|
if pyenv commands | grep -qx "virtualenv-init"; then |
||||||
|
eval "$(pyenv virtualenv-init -)" |
||||||
|
fi |
||||||
|
fi |
||||||
|
fi |
||||||
|
|
||||||
|
# RVM configuration |
||||||
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" |
||||||
|
|||||||
@ -1,8 +1,3 @@ |
|||||||
# In here you can define various keybinds for any |
if command -v setxkbmap >/dev/null 2>&1 && [[ "$XDG_SESSION_TYPE" == "x11" ]]; then |
||||||
# given setup. Just wrap them with the appropriate checks. |
setxkbmap -option caps:escape |
||||||
|
fi |
||||||
# DEPRECATED: Use your operating system's keyboard config. |
|
||||||
# Bind caps lock to escape if `setxkbmap` exists |
|
||||||
#if type "setxkbmap" > /dev/null; then |
|
||||||
# setxkbmap -option caps:escape |
|
||||||
#fi |
|
||||||
|
|||||||
Loading…
Reference in new issue