Added zsh dotfile

This commit is contained in:
Jesper Fussing Moerk 2018-02-09 15:54:55 +01:00
parent 13e30734ad
commit eada699607
2 changed files with 47 additions and 19 deletions

View File

@ -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
~~~

35
zsh/.zshrc Normal file
View File

@ -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)