blob: 4a6f50919c17248ee5186a3f349be787aa9cc215 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
if status is-interactive
# Commands to run in interactive sessions can go here
end
abbr -a -- o open
abbr -a -- l la
abbr -a -- m micro
abbr -a -- g git
abbr -a -- a 'git add'
abbr -a -- c 'git commit'
abbr -a -- p 'git push'
abbr -a -- q 'git pull'
abbr -a -- s 'git status'
abbr -a -- t 'gio trash'
set -gx EDITOR micro
set -gx PYTHON_HISTORY ~/.local/share/python/history
# https://github.com/fish-shell/fish-shell/issues/4770
# https://github.com/fish-shell/fish-shell/commit/2e9de57fd78f1c9ee0e71e141b75bb2b24abfc2d
# Remove after Fish 4.0
bind \cH backward-kill-word
bind \e\[3\;5~ kill-word
|