Added a second profile and removed a hard coded reference to the home directory

This commit is contained in:
Dennis Potter 2019-01-22 01:01:15 +01:00
parent 8d0b8ad427
commit af76eba97f
2 changed files with 13 additions and 5 deletions

View File

@ -32,11 +32,16 @@ dotfiles:
f_zsh_private_aliases:
dst: ~/.zsh_private_aliases
src: zsh/zsh_private_aliases.asc
trans:
- gpg
trans: gpg
trans:
gpg: gpg --no-tty -d {0} > {1}
profiles:
Dennis-MacBook-Pro:
dotfiles:
- f_tmux.conf
- f_nvim
- f_zshrc
- f_zsh_private_aliases
dennis-ThinkPad:
dotfiles:
- f_tmux.conf

View File

@ -6,7 +6,7 @@ fi
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/dennis/.oh-my-zsh"
export ZSH="~/.oh-my-zsh"
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
@ -104,6 +104,9 @@ alias dotdrop=~/dotfiles/dotdrop.sh --cfg=~/dotfiles/config.yaml
source ~/.zsh_private_aliases
export PATH=$PATH:/home/dennis/code/PBinCLI/venv/bin:/home/dennis/.local/bin
export GTK_MODULES=appmenu-gtk-module
export PATH=$PATH:~/code/PBinCLI/venv/bin:~/.local/bin
{%@@ if profile == "dennis-ThinkPad" @@%}
export GTK_MODULES=appmenu-gtk-module
{%@@ endif @@%}