Compare commits

...

5 Commits

Author SHA1 Message Date
Jan
ecbb01d002 Change default tmux bar color to match zsh 2022-09-02 20:09:31 +02:00
Jan Jastrow
09b33a14a1 Create this-machine folder 2022-09-02 20:00:21 +02:00
Jan Jastrow
5767203d78 Add option to load local settings 2022-09-02 19:57:23 +02:00
Jan Jastrow
d2105598ea Change from device-specific to this-machine folder 2022-09-02 19:54:52 +02:00
Jan Jastrow
0d0fcd5c90 Fixed typo 2022-09-02 19:32:26 +02:00
4 changed files with 12 additions and 5 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
.DS_Store
zsh/history
zsh/device-specific
this-machine/zsh
this-machine/tmux.conf

View File

@ -7,7 +7,9 @@ fi
rm ~/.zshrc
ln -s ~/.dotfiles/zshrc ~/.zshrc
ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf
touch ~/.dotfiles/zsh/device-specific
mkdir ~/.dotfiles/this-machine
touch ~/.dotfiles/this-machine/zsh
touch ~/.dotfiles/this-machine/tmux.conf
sudo chsh -s $(which zsh) $USER
# If private repo is available, add ssh config + hosts

View File

@ -37,8 +37,12 @@ set-window-option -g window-active-style fg=white,bg=colour235
set-window-option -g message-style fg=#111111,bold,bg=#eeeeee
# Status Bar
set-option -g status-style fg=white,bg=#8317dd
set-option -g status-style fg=white,bg=#B7650E
set-window-option -g window-status-separator |
# Set Terminal type
set -g default-terminal "xterm-256color"
# ------
# Load local settings
source ~/.dotfiles/this-machine/tmux.conf

4
zshrc
View File

@ -7,7 +7,7 @@ autoload -U compinit && compinit
# Prompt color
prompt_color1="#ffaf00"
primpt_color2="#000000"
prompt_color2="#000000"
# Load zsh settings
source $HOME/.dotfiles/zsh/settings
@ -46,7 +46,7 @@ source $HOME/.dotfiles/zsh/alias
source $HOME/.dotfiles/zsh/bindings
source $HOME/.dotfiles/zsh/scripts
source $HOME/.dotfiles/zsh/ffmpeg
source $HOME/.dotfiles/zsh/device-specific
source $HOME/.dotfiles/this-machine/zsh
# Prompt design
prompt="%F{$prompt_color2}%K{$prompt_color1} ▓▒░%F%B%n@%m%b%F{$prompt_color1}%K{$prompt_color2}█▓▒░%F{#ffffff}%K{$prompt_color2}%B %D{%Y-%m-%d} %D{%k:%M:%S}