-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.fish
65 lines (50 loc) · 1.07 KB
/
config.fish
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
#
# The next line updates PATH for the Google Cloud SDK.
# if [ -f '/Users/natdempk/Downloads/google-cloud-sdk/path.fish.inc' ]; if type source > /dev/null; source '/Users/natdempk/Downloads/google-cloud-sdk/path.fish.inc'; else; . '/Users/natdempk/Downloads/google-cloud-sdk/path.fish.inc'; end; end
# rust cargo
set PATH $HOME/.cargo/bin $PATH
# prettify json
function jp
jq --sort-keys . $argv
end
# prettify json from clipboard
function jpp
pbpaste | jp
end
# prettify json from clipboard, copying it out again
function jppy
pbpaste | jp | pbcopy
end
# prettify json, copying it out
function jpy
jp | pbcopy
end
# git stuff
function gs
git status
end
function gd
git diff $argv
end
function gdc
git diff --cached $argv
end
function ga
git add $argv
end
function gcm
git checkout master
end
function gcmp
git checkout master
git pull
end
function gp
git push $argv
end
function gl
git log $argv
end
function mvnc
mvn -Dmaven.skipTests -DskipTests -Dcheckstyle.skip -Dhs-swagger.skip=true -DskipValidation=true compile
end