-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add eternal history to zsh where already present (#14)
* add eternal history to zsh where already present * correct zsh history settings
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This zshrc will be source from /root/.zshrc upon launch of every terminal | ||
# in a devcontainer that uses the bash-config feature from | ||
# https://github.com/DiamondLightSource/devcontainer-features | ||
|
||
# This file is initialized by vscode feature bash-config, | ||
# but you are then free to edit it | ||
|
||
# set up eternal history for zsh | ||
HISTCONTROL=ignoreboth:erasedups | ||
HISTSIZE=10000000 | ||
SAVEHIST=$HISTSIZE | ||
HISTFILE=$CONFIG_FOLDER/.zsh_eternal_history | ||
|
||
# set a theme compatible with vscode terminals | ||
ZSH_THEME="dst" |