Update
This commit is contained in:
parent
0660baa724
commit
714c14fc06
4 changed files with 16 additions and 4 deletions
10
zshrc
10
zshrc
|
@ -16,6 +16,8 @@ setopt cdable_vars
|
|||
|
||||
export ZDOTDIR=${ZDOTDIR:-$HOME/.zsh}
|
||||
|
||||
function exists { command -v "$@" >/dev/null }
|
||||
|
||||
# get a file from ZDOTDIR, return file in /etc/zsh if it does not exist
|
||||
zdotfile() {
|
||||
if [[ -e $ZDOTDIR/$1 ]]; then
|
||||
|
@ -53,3 +55,11 @@ if ! (grep -q 'local' <<<$PATH && grep -q 'sbin' <<<$PATH); then
|
|||
fi
|
||||
|
||||
FZF_ALT_C_COMMAND="fd -t d"
|
||||
[[ -e /usr/share/doc/fzf/key-bindings.zsh ]] && . /usr/share/doc/fzf/key-bindings.zsh
|
||||
|
||||
if exists stack; then
|
||||
eval "$(stack --bash-completion-script stack)"
|
||||
fi
|
||||
|
||||
exists todo && todo
|
||||
eval $(thefuck --alias)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue