diff --git a/misc/.profile b/misc/.profile index d4d6639..660a34e 100644 --- a/misc/.profile +++ b/misc/.profile @@ -1,2 +1,11 @@ -eval "$(dircolors $HOME/.config/dircolors.ansi-dark)" export EDITOR=vim + +# Pinyin input +export GTK_IM_MODULE=fcitx +export QT_IM_MODULE=fcitx +export XMODIFIERS="@im=fcitx" + +# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. +[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* + +export PATH="$HOME/local/bin:$PATH:$HOME/.rvm/bin" diff --git a/zsh/.zprofile b/zsh/.zprofile index b5ce79c..9fff0f6 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -2,3 +2,4 @@ # Only run if dbus-launch exists # https://stackoverflow.com/questions/592620/how-to-check-if-a-program-exists-from-a-bash-script command -v dbus-launch>/dev/null 2>&1 && eval `dbus-launch --sh-syntax` +. .profile diff --git a/zsh/.zshrc b/zsh/.zshrc index b122276..205e23e 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -105,6 +105,8 @@ export LANG=en_US.UTF-8 source "$HOME/.alias" +source ~/.profile + # Set ls colors eval "$(dircolors $HOME/.dircolors.ansi-dark)"