-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.fish
45 lines (38 loc) · 1.33 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
# Put system-wide fish configuration entries here
# or in .fish files in conf.d/
# Files in conf.d can be overridden by the user
# by files with the same name in $XDG_CONFIG_HOME/fish/conf.d
# This file is run by all fish instances.
# To include configuration only for login shells, use
# if status --is-login
# ...
# end
# To include configuration only for interactive shells, use
# if status --is-interactive
# ...
# end
set -x fish_cursor_insert line
set -x fish_cursor_default block
set -x fish_cursor_replace_one underscore
set -x fish_cursor_visual block
set -x PAGER "nvim -u ~/.config/nvim/scripts/less.vim"
set -x PATH $PATH ~/.local/bin
set -x EDITOR /usr/bin/nvim
set -x VISUAL /usr/bin/nvim
set -x BROWSER /usr/bin/qutebrowser
set fish_greeting
alias pyenv-init "status --is-interactive; and source (pyenv init -|psub)"
alias ra "ranger"
alias sudo "sudo -s"
alias lg "lazygit"
alias startx "startx ~/.xinitrc"
alias plasma-start "startx kde"
alias vless "nvim -u ~/.config/nvim/scripts/less.vim"
alias sshagent_start "eval (ssh_agent_start)"
alias sshagent_stop "eval (ssh_agent_kill)"
set -x LESS_TERMCAP_md (printf "\e[01;31m")
set -x LESS_TERMCAP_me (printf "\e[0m")
set -x LESS_TERMCAP_se (printf "\e[0m")
set -x LESS_TERMCAP_so (printf "\e[01;44;33m")
set -x LESS_TERMCAP_ue (printf "\e[0m")
set -x LESS_TERMCAP_us (printf "\e[01;32m")