mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-12-12 00:56:55 +00:00
Compare commits
2 commits
bbb8e9f79d
...
1e3b187d27
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e3b187d27 | ||
|
|
e4b7fe0234 |
2 changed files with 13 additions and 1 deletions
|
|
@ -57,3 +57,8 @@ setopt EXTENDED_HISTORY
|
||||||
# beep in ZLE when a widget attempts to access a history entry which isn’t there
|
# beep in ZLE when a widget attempts to access a history entry which isn’t there
|
||||||
unsetopt HIST_BEEP
|
unsetopt HIST_BEEP
|
||||||
|
|
||||||
|
# Auto-create the histfile cache directory if it doesn't yet exist
|
||||||
|
if [ ! -d "$(dirname "$HISTFILE")" ]; then
|
||||||
|
mkdir -p "$(dirname "$HISTFILE")"
|
||||||
|
touch "$HISTFILE"
|
||||||
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,12 @@
|
||||||
|
ZGENOM_DIR="${ZDOTDIR}/.zgenom"
|
||||||
|
|
||||||
|
# Clone zgenom if it's not present yet
|
||||||
|
if [[ ! -d "$ZGENOM_DIR" ]]; then
|
||||||
|
git clone https://github.com/jandamm/zgenom "$ZGENOM_DIR"
|
||||||
|
fi
|
||||||
|
|
||||||
# Load zgenom (plugin manager for ZSH)
|
# Load zgenom (plugin manager for ZSH)
|
||||||
source "${ZDOTDIR}/.zgenom/zgenom.zsh"
|
source "${ZGENOM_DIR}/.zgenom/zgenom.zsh"
|
||||||
|
|
||||||
# Check for zgenom updates
|
# Check for zgenom updates
|
||||||
# This does not increase startup time
|
# This does not increase startup time
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue