From: Amin Bandali Date: Mon, 31 Jul 2017 00:39:57 +0000 (-0400) Subject: Zsh and ZIM changes X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/378dacde52fc48eee564a7464307a56aa3215415 Zsh and ZIM changes --- diff --git a/zsh/.zimrc b/zsh/.zimrc index 96eab18..e53678e 100644 --- a/zsh/.zimrc +++ b/zsh/.zimrc @@ -9,10 +9,10 @@ # # Select what modules you would like enabled. -# The second line of modules may depend on options set by modules in the first line. -# These dependencies are noted on the respective module's README.md. -zmodules=(directory environment git history input ssh utility meta custom \ - prompt syntax-highlighting history-substring-search completion) +# The second line of modules may depend on options set by modules in the first +# line. These dependencies are noted on the respective module's README.md. +zmodules=(directory environment git git-info history input ssh utility meta custom \ + syntax-highlighting history-substring-search prompt completion) ################### @@ -24,7 +24,9 @@ zmodules=(directory environment git history input ssh utility meta custom \ # # Set your desired prompt here -zprompt_theme='pure' +#zprompt_theme='pure' +#zprompt_theme='gitster' +zprompt_theme='minimal' PURE_PROMPT_SYMBOL=λ # diff --git a/zsh/.zprofile b/zsh/.zprofile index 656d599..3d060ab 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,3 +1,5 @@ +#PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH" +PATH=$HOME/.gem/ruby/2.4.0/bin:$PATH export PATH=$HOME/.local/bin:$HOME/.cabal/bin:$HOME/.cargo/bin:$PATH export XDG_CONFIG_HOME=$HOME/.config export XDG_DATA_HOME=$HOME/.local/share @@ -6,3 +8,13 @@ export MAILDIR="$HOME/mail" export CVS_RSH=ssh export MATHMODELS=$HOME/src/eiffel/mathmodels export RUST_SRC_PATH=~/.multirust/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src + +export PATH="$HOME/.cargo/bin:$PATH" + +# Eiffel2Java stuff +export JAVA_HOME=/usr/lib/jvm/default +export CPATH=$CPATH:"$JAVA_HOME/include:$JAVA_HOME/include/linux" +export LIBRARY_PATH=$LIBRARY_PATH:"$JAVA_HOME/jre/lib/amd64/server" +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$JAVA_HOME/jre/lib/amd64/server" + +# if [ -e /home/amin/.nix-profile/etc/profile.d/nix.sh ]; then . /home/amin/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer diff --git a/zsh/.zshrc b/zsh/.zshrc index 6c7e099..eafbbc2 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,6 +1,6 @@ # Bash-like navigation #export WORDCHARS='*?_-.[]~=&;!#$%^(){}<>' -export WORDCHARS='*?[]~=&;!#$%^(){}<>' +export WORDCHARS='*?-[]~=&;!#$%^(){}<>' fpath+=~/.zfunc @@ -29,3 +29,5 @@ source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh alias mpv="mpv --ytdl-format mp4" alias mv="mv -iv" alias cp="cp -iv" +alias scl=systemctl +alias jcl=journalctl