diff options
| author | Joshua Peek <josh@joshpeek.com> | 2012-12-10 09:45:54 -0600 |
|---|---|---|
| committer | Joshua Peek <josh@joshpeek.com> | 2012-12-10 09:45:54 -0600 |
| commit | 7c170972a07b3b3d3c28624e1a2228cbe57a728f (patch) | |
| tree | dafe619aa74e8fb9a07ba018c5d808e738264121 /samples/Shell/filenames/.zprofile | |
| parent | d00dfd82c1170bd84c8616c34dd8a869058e49af (diff) | |
Add shell samples
Diffstat (limited to 'samples/Shell/filenames/.zprofile')
| -rw-r--r-- | samples/Shell/filenames/.zprofile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/samples/Shell/filenames/.zprofile b/samples/Shell/filenames/.zprofile new file mode 100644 index 0000000..a89558e --- /dev/null +++ b/samples/Shell/filenames/.zprofile @@ -0,0 +1,28 @@ +############################################################################## +#Import the shell-agnostic (Bash or Zsh) environment config +############################################################################## +source ~/.profile + +############################################################################## +# History Configuration +############################################################################## +HISTSIZE=5000 #How many lines of history to keep in memory +HISTFILE=~/.zsh_history #Where to save history to disk +SAVEHIST=5000 #Number of history entries to save to disk +HISTDUP=erase #Erase duplicates in the history file +setopt appendhistory #Append history to the history file (no overwriting) +setopt sharehistory #Share history across terminals +setopt incappendhistory #Immediately append to the history file, not just when a term is killed + +############################################################################## +# sjl/z-zsh setup +############################################################################## +#. ~/.dotfiles/z-zsh/z.sh +#function precmd () { +# z --add "$(pwd -P)" +#} + +############################################################################## +# rupa/z setup +############################################################################## +. ~/.dotfiles/z-rupa/z.sh |
