-
Notifications
You must be signed in to change notification settings - Fork 0
/
.fasdrc
60 lines (46 loc) · 1.84 KB
/
.fasdrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
shada() {
# grab local mark entries from shada
~/code/neovim/scripts/shadacat.py ~/.local/share/nvim/shada/main.shada 'entry.type.value == 10' | \
sed -n "s/^.*'f': '\([^']*\)'.*$/\1/p" | \
awk -v t="$(date +%s)" '{
if (!seen[$0]) {
t -= 60
print $0 "|1|" t
}
seen[$0] = 1
}'
}
# _FASD_DATA
# Path to the fasd data file, default "$HOME/.fasd".
_FASD_BLACKLIST=('--help')
# List of blacklisted strings. Commands matching them will not be processed.
# Default is "--help".
# _FASD_SHIFT
# List of all commands that needs to be shifted, defaults to "sudo busybox".
_FASD_IGNORE="fasd ls echo rm mpv"
# List of all commands that will be ignored, defaults to "fasd ls echo".
# _FASD_TRACK_PWD
# Fasd defaults to track your "$PWD". Set this to 0 to disable this behavior.
# _FASD_AWK
# Which awk to use. fasd can detect and use a compatible awk.
# _FASD_SINK="$HOME/.fasd.log"
# File to log all STDERR to, defaults to "/dev/null".
# _FASD_MAX
# Max total score / weight, defaults to 2000.
# _FASD_SHELL
# Which shell to execute. Some shells will run faster than others. fasd
# runs faster with dash and ksh variants.
# _FASD_BACKENDS=( native )
# Default backends.
# _FASD_RO
# If set to any non-empty string, fasd will not add or delete entries from
# database. You can set and export this variable from command line.
# _FASD_FUZZY
# Level of "fuzziness" when doing fuzzy matching. More precisely, the number of
# characters that can be skipped to generate a match. Set to empty or 0 to
# disable fuzzy matching. Default value is 2.
# _FASD_VIMINFO=
# Path to .viminfo file for viminfo backend, defaults to "$HOME/.viminfo"
# _FASD_RECENTLY_USED_XBEL
# Path to XDG recently-used.xbel file for recently-used backend, defaults to
# "$HOME/.local/share/recently-used.xbel"