Recently Written · git

goldfish

My fish init.

git clone https://github.com/equwal/goldfish

Log | Files | Refs


abbreviations.fish (1232 bytes)

1 if status --is-interactive
2     # Make xclip work in X11's clipboard
3     abbr -a clip xclip -selection clipboard
4     abbr -a xclips xclip -selection clipboard
5 
6     # General aliases
7     abbr -a fsv funcsave # since fed is what I use for emacs funced
8     abbr -a sn sort -n
9     abbr -a hn head -n
10 
11     # Grep
12     # BAC: Before After Context, Blood Alcohol Content.
13     abbr -a gb g -B5
14     abbr -a ga g -A5
15     abbr -a gc g -C5
16     abbr -a gpi g -i
17     abbr -a go g -o
18     abbr -a gp g
19     abbr -a gr g -R
20     abbr -a gn g -n
21 
22 
23     abbr -a pg ping duckduckgo.com
24     ## Aliases from my Bash.
25     abbr emq emacs -Q
26     # Aliases from my Eshell.
27     # abbr -a ain apt-get update; apt-get upgrade; apt-get install
28     abbr -a ein emerge --ask
29     abbr -a ese emerge --search
30 
31     # misspellings
32     abbr -a eamcs emacs
33     abbr -a os ls
34     abbr -a dispath-conf dispatch-conf
35     abbr -a laod load
36     abbr -a suod sudo
37     abbr -a usod sudo
38     abbr -a usdo sudo
39 
40     # abbr -a pin sudo pacman -Syu; pacman -S
41     abbr -a sl ls
42     abbr -a xs ssh root@spensertruex.com
43     abbr -a zgc git clone
44     # abbr -a zin sudo zypper update; sudo zypper in
45     abbr -a zs /sudo:root@hp:/
46     abbr -a zwic wifi --connect
47     abbr -a - 'cd -'
48 end