summaryrefslogtreecommitdiffstats
path: root/.config/fish/config.fish
diff options
context:
space:
mode:
authorYigit Sever2021-11-11 18:36:14 +0300
committerYigit Sever2021-11-11 18:36:14 +0300
commitbcd732aacc6a1bad700c8ceca5974656cbfc3cf2 (patch)
treedcd115b90a5b54a31d0eecdc2c03053484f0ed25 /.config/fish/config.fish
parenta572a619da2464a234af7500f095c776c5c39df1 (diff)
downloaddotfiles-bcd732aacc6a1bad700c8ceca5974656cbfc3cf2.tar.gz
dotfiles-bcd732aacc6a1bad700c8ceca5974656cbfc3cf2.tar.bz2
dotfiles-bcd732aacc6a1bad700c8ceca5974656cbfc3cf2.zip
fish: welcome!
diffstat (limited to '.config/fish/config.fish')
-rw-r--r--.config/fish/config.fish56
1 files changed, 56 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
new file mode 100644
index 0000000..84e2340
--- /dev/null
+++ b/.config/fish/config.fish
@@ -0,0 +1,56 @@
1fish_add_path $HOME/.local/bin
2
3set --global --export EDITOR nvim
4set --global --export PAGER "less -R"
5set --global --export MANPAGER nvim +Man!
6set --global --export GOPATH $HOME/.local/share/go
7set --global --export GPG_TTY (tty)
8set --global fish_prompt_pwd_dir_length 0
9
10# nnn
11set --global --export NNN_OPENER $HOME/.local/bin/nuke
12set --global --export NNN_BMS "w:~/nextcloud/personal_wiki;r:~/nextcloud/research;n:~/nextcloud;d:~/down"
13set --global --export NNN_COLORS 2136
14set --global --export NNN_FCOLORS c1e2272e006033f7c6d6abc4
15set --global --export NNN_PLUG "d:dragdrop;f:fzcd;h:fzhist;o:fzopen;l:launch;y:x2sel"
16set --global --export NNN_TRASH 1
17
18set --global --export FZF_DEFAULT_OPTS "--height=40% --layout=reverse --info=inline --border"
19set --global --export WECHALLUSER "drocan"
20set --global --export WECHALLTOKEN "35624-0D38B-A2F16-A98B0-5963D-6DF19"
21set --global --export RUST_SRC_PATH (rustc --print sysroot)/lib/rustlib/src/rust/library/
22set --global --export NLTK_DATA "$HOME/.local/share/nltk_data"
23
24if status is-interactive
25 abbr --add --global v 'nvim'
26 abbr --add --global nt 'neomutt'
27 abbr --add --global rm 'rm -i'
28 abbr --add --global cp 'cp -i'
29 abbr --add --global mv 'mv -i'
30 abbr --add --global free 'free -m'
31 abbr --add --global df 'df -h'
32 abbr --add --global C 'xsel -b' # Copy to clipboard
33 abbr --add --global bc 'bc -l'
34 abbr --add --global ledger "ledger -f ~/nextcloud/virtuals/ledger.ledger"
35 abbr --add --global report "report -f ~/nextcloud/virtuals/ledger.ledger"
36 abbr --add --global think 'tickle +1d' #think it over
37 abbr --add --global lim 'nvim /home/yigit/nextcloud/virtuals/ledger.ledger'
38 abbr --add --global maybe 'task due:someday list'
39 abbr --add --global music 'mpv --no-vid'
40 abbr --add --global s "du -hs * | sort -rh | head -5"
41 abbr --add --global b "buku --suggest --colors 'onlxm'"
42 abbr --add --global tp 'trash-put'
43 abbr --add --global ls 'exa'
44 abbr --add --global wim 'nvim /home/yigit/nextcloud/personal_wiki/text/index.wiki'
45 abbr --add --global torem 'cd /home/yigit/nextcloud/virtuals/remind/'
46 abbr --add --global taw 'task add +next +@work'
47 abbr --add --global tat 'task add +next +@tablet pro:res.toread'
48 abbr --add --global tre 'exa -l -T -L 2 --header --git-ignore -F -d -I node_modules'
49 abbr --add --global guno 'git status -uno'
50 abbr --add --global bo 'bukuopener'
51 abbr --add --global re 'rem -gaad -@2'
52 abbr --add --global in 'task add +in'
53 abbr --add --global inc 'task +in +PENDING count'
54
55 zoxide init fish | source
56end