Change some fish stuff
This commit is contained in:
@@ -66,5 +66,7 @@ export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
|
|||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export VISUAL=nvim
|
export VISUAL=nvim
|
||||||
|
|
||||||
|
# Browser
|
||||||
|
export BROWSER=xdg-open # so that the default browser at any time can open
|
||||||
# GPG
|
# GPG
|
||||||
export GPG_TTY=(tty)
|
export GPG_TTY=(tty)
|
||||||
|
|||||||
@@ -1,10 +1,17 @@
|
|||||||
function man
|
function man
|
||||||
set oldIFS "$IFS"
|
set oldIFS "$IFS"
|
||||||
set IFS ""
|
set IFS ""
|
||||||
set page (/usr/bin/man "$argv" | col -b)
|
set page (/usr/bin/man $argv | col -b)
|
||||||
if ! [ -z "$page" ]
|
if ! [ -z "$page" ]
|
||||||
echo "$page" | nvim -R -c 'set ft=man nomod nolist' -
|
echo "$page" | nvim -R -c 'set ft=man nomod nolist' -
|
||||||
end
|
end
|
||||||
|
|
||||||
set IFS "$oldIFS"
|
set IFS "$oldIFS"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
function __fish_command_not_found_handler --on-event fish_command_not_found
|
||||||
|
echo "fish: Unknown command '$argv'"
|
||||||
|
end
|
||||||
|
|
||||||
|
thefuck --alias | source
|
||||||
|
|||||||
@@ -4,16 +4,20 @@ SETUVAR __fish_initialized:3100
|
|||||||
SETUVAR _fish_abbr_c:checkmail
|
SETUVAR _fish_abbr_c:checkmail
|
||||||
SETUVAR _fish_abbr_cat:bat
|
SETUVAR _fish_abbr_cat:bat
|
||||||
SETUVAR _fish_abbr_cd:z
|
SETUVAR _fish_abbr_cd:z
|
||||||
|
SETUVAR _fish_abbr_g:git
|
||||||
SETUVAR _fish_abbr_ll:exa\x20\x2dal
|
SETUVAR _fish_abbr_ll:exa\x20\x2dal
|
||||||
SETUVAR _fish_abbr_ls:exa
|
SETUVAR _fish_abbr_ls:exa
|
||||||
SETUVAR _fish_abbr_m:neomutt
|
SETUVAR _fish_abbr_m:neomutt
|
||||||
SETUVAR _fish_abbr_n:notmuch
|
SETUVAR _fish_abbr_n:notmuch
|
||||||
|
SETUVAR _fish_abbr_nb:newsboat
|
||||||
|
SETUVAR _fish_abbr_o:xdg\x2dopen
|
||||||
SETUVAR _fish_abbr_p:pacman
|
SETUVAR _fish_abbr_p:pacman
|
||||||
SETUVAR _fish_abbr_rpc:patch\x20\x2dp0\x20\x3c\x20\x7e/\x2elocal/share/console\x2ediff
|
SETUVAR _fish_abbr_rpc:patch\x20\x2dp0\x20\x3c\x20\x7e/\x2elocal/share/console\x2ediff
|
||||||
SETUVAR _fish_abbr_s:source\x20venv/bin/activate\x2efish
|
SETUVAR _fish_abbr_s:source\x20venv/bin/activate\x2efish
|
||||||
SETUVAR _fish_abbr_sl:exa
|
SETUVAR _fish_abbr_sl:exa
|
||||||
SETUVAR _fish_abbr_t:/home/fs0c131y/\x2econfig/tmux/start\x2dtmux
|
SETUVAR _fish_abbr_t:/home/fs0c131y/\x2econfig/tmux/start\x2dtmux
|
||||||
SETUVAR _fish_abbr_v:nvim
|
SETUVAR _fish_abbr_v:nvim
|
||||||
|
SETUVAR _fish_abbr_yay:paru
|
||||||
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||||
SETUVAR fish_color_cancel:\x2dr
|
SETUVAR fish_color_cancel:\x2dr
|
||||||
SETUVAR fish_color_command:005fd7
|
SETUVAR fish_color_command:005fd7
|
||||||
|
|||||||
Reference in New Issue
Block a user