-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.fish
More file actions
68 lines (50 loc) · 1.3 KB
/
config.fish
File metadata and controls
68 lines (50 loc) · 1.3 KB
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
61
62
63
64
65
66
67
begin
set --local AUTOJUMP_PATH $HOME/.autojump/share/autojump/autojump.fish
if test -e $AUTOJUMP_PATH
source $AUTOJUMP_PATH
end
end
. /home/Dvlv/Stuff/easy-git/fish_completion
. /home/Dvlv/Stuff/fnm/fish_completions
# /bin/bash /home/Dvlv/bin/ssh_config
set PATH /home/Dvlv/bin $PATH
set PATH $PATH /home/Dvlv/.language-servers
# set PATH /home/Dvlv/Downloads/nsq-1.0.0-compat.linux-amd64.go1.8/bin $PATH
set -x GOPATH /home/Dvlv/go
set -x EDITOR nvim
function sourceeg
set PATH /home/Dvlv/bin $PATH
set PATH /usr/local/go/bin $PATH
end
funcsave sourceeg
function addtopath
set CWD (pwd)
set PATH CWD $PATH
end
funcsave addtopath
function back
for x in (seq $argv)
cd ..
end
end
funcsave back
function cd
if test -d ./env
deactivate
end
builtin cd $argv;
if test -d ./env
source env/bin/activate.fish
set -x PYTHONPATH .
end
end
function fish_greeting
end
funcsave fish_greeting
alias sl='ls'
alias ct='ctags -R --exclude="flyway*" --exclude="env" --exclude="web/node_modules/*" --exclude="web/static/*" --exclude="*/__pycache*"'
alias junior='php artisan'
alias pt='env SQL_HOST=pg.local pytest -sx -n 4'
fnm env | source
set PATH /home/Dvlv/.pyenv/bin $PATH
status --is-interactive; and source (pyenv init -|psub)