From eada6996071bb5ba07cf0608ee480b332516d999 Mon Sep 17 00:00:00 2001 From: Jesper Fussing Moerk Date: Fri, 9 Feb 2018 15:54:55 +0100 Subject: [PATCH] Added zsh dotfile --- README.md | 31 ++++++++++++------------------- zsh/.zshrc | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 19 deletions(-) create mode 100644 zsh/.zshrc diff --git a/README.md b/README.md index 3622998..500407a 100644 --- a/README.md +++ b/README.md @@ -13,33 +13,25 @@ I have implemented a manual switching mechanism so that I can switch configurati * [Gnome Terminal](https://github.com/GNOME/gnome-terminal) # Themes -GTK: [Materia-dark](https://github.com/nana-4/materia-theme) -Icons: [Papirus](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme) +## Master Branch +### GTK +[Materia-dark](https://github.com/nana-4/materia-theme) -Defined in ~/.config/gtk-3.0/settings.ini or by lxappearance application. +### Icons +[Papirus](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme) -## Colors +### ZSH Prompt +[Spaceship](https://github.com/denysdovhan/spaceship-prompt) + +### Colors Backgrounds: #263238 -### Polybar +#### Polybar Focused Foreground: #009688 Unfocused Foreground: #BDBDBD Urgent Foreground: #BF360C -# Other Settings -## Gnome Terminal -Padding in the gnome terminals is done by adding: -~~~ -vte-terminal { - padding: 10px; -} -~~~ -in ~/.config/gtk-3.0/gtk.css - -### Shell -I use ZSH with the latest Spaceship prompt - -# Stow +# Stow Commands I use Gnu Stow to manage my dotfiles. Dotfiles from this repository can be used by issuing: ~~~ stow -t ~ i3 @@ -47,4 +39,5 @@ stow -t ~ dunst stow -t ~ polybar stow -t ~ rofi stow -t ~ gtk +stow -t ~ zsh ~~~ diff --git a/zsh/.zshrc b/zsh/.zshrc new file mode 100644 index 0000000..d19ed4c --- /dev/null +++ b/zsh/.zshrc @@ -0,0 +1,35 @@ +# If you come from bash you might have to change your $PATH. +# export PATH=$HOME/bin:/usr/local/bin:$PATH + +#Path to your oh-my-zsh installation. +export ZSH=/home/jfm/.oh-my-zsh + +export TERM="xterm-256color" + +## Theme +ZSH_THEME="spaceship" + +## Plugins +plugins=(git gradle mvn docker sublime dnf taskwarrior) + +source $ZSH/oh-my-zsh.sh + +## Exports +export ANT_HOME=/home/jfm/Tools/apache-ant-1.9.4 +export MVN_HOME=/home/jfm/Tools/apache-maven-3.2.5 +export GRADLE_HOME=/home/jfm/Tools/gradle-4.0.1 +export JAVA_HOME=/home/jfm/Tools/jdk1.8.0_111 +export FLY_HOME=/home/jfm/Tools/fly +export PATH=$FLY_HOME:$JAVA_HOME/bin:$ANT_HOME/bin:$MVN_HOME/bin:$GRADLE_HOME/bin:/usr/bin:$PATH: + +## Alias +alias oc="/home/jfm/Tools/openshift-origin-client-tools-v3.6.0/oc" +alias ocdel="/home/jfm/Tools/openshift-origin-client-tools-v3.6.0/oc delete bc,builds,dc,rc,routes,svc,po -l" +alias portfwd="/home/jfm/Customers/TDC/Scripts/portforwards.sh" +alias mopd="nohup mopidy >/dev/null 2>&1 &" + +# Disable history Sharing +unsetopt share_history + +#Add OC support +source <(oc completion zsh) \ No newline at end of file