-
Notifications
You must be signed in to change notification settings - Fork 0
/
.hooks
14 lines (12 loc) · 901 Bytes
/
.hooks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
##############################################################
#-------------------------------------------------------------
# Hooks
# These statements need to come AFTER any modifications to the prompt occur
#-------------------------------------------------------------
##############################################################
#command -v thefuck >/dev/null 2>&1 && eval $(thefuck --alias)
#command -v direnv >/dev/null 2>&1 && eval "$(direnv hook bash)" #Commented out while trying to figure out why \ls is call direnv
# command -v pipx >/dev/null 2>&1 && eval "$(register-python-argcomplete pipx)"
# Try to enable the "Command not found" hook ("pacman -S pkgfile" to install it on Arch or msys2).
# See also: https://wiki.archlinux.org/index.php/Bash#The_.22command_not_found.22_hook
[ -r /usr/share/doc/pkgfile/command-not-found.bash ] && . /usr/share/doc/pkgfile/command-not-found.bash