Build zshrc
This commit is contained in:
parent
ca6cacc517
commit
64156e7dda
6 changed files with 24 additions and 7 deletions
|
@ -28,6 +28,3 @@ COMPLETION_WAITING_DOTS="true"
|
|||
|
||||
alias src="source $HOME/.zshrc"
|
||||
|
||||
export DOTFILES="$HOME/.dotfiles"
|
||||
|
||||
source $DOTFILES/bash/base.sh
|
|
@ -4,10 +4,6 @@ case $- in
|
|||
*) return;;
|
||||
esac
|
||||
|
||||
source $DOTFILES/bash/catfish.sh
|
||||
source $DOTFILES/bash/javascript.sh
|
||||
source $DOTFILES/bash/applications.sh
|
||||
[ -s "$DOTFILES/bash/private.sh" ] && source "$DOTFILES/bash/private.sh" # load private stuff
|
||||
|
||||
# Export some variables
|
||||
export ANDROID_HOME=/opt/android-sdk
|
|
@ -1,2 +1,26 @@
|
|||
class shell {
|
||||
$zshrc = "/home/jake/.zshrc"
|
||||
|
||||
$files = [
|
||||
"puppet:///modules/shell/.zshrc",
|
||||
"puppet:///modules/shell/base.sh",
|
||||
"puppet:///modules/shell/applications.sh",
|
||||
"puppet:///modules/shell/catfish.sh",
|
||||
"puppet:///modules/shell/javascript.sh"
|
||||
];
|
||||
|
||||
concat {"zshrc":
|
||||
path => $zshrc,
|
||||
owner => "jake",
|
||||
group => "users",
|
||||
mode => "0644",
|
||||
ensure_newline => true
|
||||
}
|
||||
|
||||
$files.each |String $file| {
|
||||
concat::fragment {"zshrc concat $file":
|
||||
target => $zshrc,
|
||||
source => $file
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue