mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add shell samples
This commit is contained in:
28
samples/Shell/filenames/.zprofile
Normal file
28
samples/Shell/filenames/.zprofile
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user