mirror of
https://github.com/m1ngsama/dotfiles.git
synced 2026-02-07 23:04:04 +00:00
upload fish, neovim and tmux dotfiles
This commit is contained in:
parent
35d7aa6806
commit
8a2362811e
128 changed files with 3182 additions and 0 deletions
7
fish/completions/fisher.fish
Normal file
7
fish/completions/fisher.fish
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
complete --command fisher --exclusive --long help --description "Print help"
|
||||
complete --command fisher --exclusive --long version --description "Print version"
|
||||
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments install --description "Install plugins"
|
||||
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments update --description "Update installed plugins"
|
||||
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments remove --description "Remove installed plugins"
|
||||
complete --command fisher --exclusive --condition __fish_use_subcommand --arguments list --description "List installed plugins matching regex"
|
||||
complete --command fisher --exclusive --condition "__fish_seen_subcommand_from update remove" --arguments "(fisher list)"
|
||||
66
fish/completions/ghq.fish
Normal file
66
fish/completions/ghq.fish
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
function __fish_ghq_needs_command
|
||||
set cmd (commandline -opc)
|
||||
if [ (count $cmd) -eq 1 -a $cmd[1] = "ghq" ]
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
function __fish_ghq_using_command
|
||||
set cmd (commandline -opc)
|
||||
if [ (count $cmd) -gt 1 ]
|
||||
if [ $argv[1] = $cmd[2] ]
|
||||
return 0
|
||||
end
|
||||
end
|
||||
return 1
|
||||
end
|
||||
|
||||
# Help
|
||||
function __fish_ghq_help_topics
|
||||
for c in get list root create
|
||||
printf "%s\thelp topic\n" $c
|
||||
end
|
||||
end
|
||||
|
||||
function __fish_ghq_vcs
|
||||
for c in git subversion git-svn mercurial darcs
|
||||
printf "%s\tVCS\n" $c
|
||||
end
|
||||
printf "github\tAlias for git\n"
|
||||
printf "svn\tAlias for subversion\n"
|
||||
printf "hg\tAlias for mercurial\n"
|
||||
end
|
||||
|
||||
complete -f -c ghq -n "__fish_ghq_needs_command" -a help -d "Shows a list of commands or help for one command"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command help" -a "(__fish_ghq_help_topics)"
|
||||
|
||||
complete -f -c ghq -n "__fish_ghq_needs_command" -a get -d "Clone/sync with a remote repository"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command get" -l update -s u -d "Update local repository if cloned already"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command get" -s p -d "Clone with SSH"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command get" -l shallow -d "Do a shallow clone"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command get" -l look -s l -d "Look after get"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command get" -l vcs -d "Specify VCS backend for cloning" -r -a "(__fish_ghq_vcs)"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command get" -l silent -s s -d "Clone or update silently"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command get" -l no-recursive -d "Prevent recursive fetching"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command get" -l branch -s b -d "Specify branch name. This flag implies --single-branch on Git"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command get" -l parallel -s P -d "Import parallely"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command get" -l help -s h -d "Show help"
|
||||
|
||||
complete -f -c ghq -n "__fish_ghq_needs_command" -a list -d "List local repositories"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command list" -l exact -s e -d "Perform an exact match"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command list" -l vcs -d "Specify VCS backend for matching" -r -a "(__fish_ghq_vcs)"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command list" -l full-path -s p -d "Print full paths"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command list" -l unique -d "Print unique subpaths"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command list" -l help -s h -d "Show help"
|
||||
|
||||
complete -f -c ghq -n "__fish_ghq_needs_command" -a root -d "Show repositories' root"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command root" -l all -d "Show all roots"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command root" -l help -s h -d "Show help"
|
||||
|
||||
complete -f -c ghq -n "__fish_ghq_needs_command" -a create -d "Create a new repository"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command create" -l vcs -d "Specify VCS backend explicitly" -r -a "(__fish_ghq_vcs)"
|
||||
complete -f -c ghq -n "__fish_ghq_using_command create" -l help -s h -d "Show help"
|
||||
|
||||
complete -f -c ghq -n "__fish_ghq_needs_command" -l help -s h -d "Show help"
|
||||
complete -f -c ghq -n "__fish_ghq_needs_command" -l version -s v -d "Print the version"
|
||||
21
fish/completions/nvm.fish
Normal file
21
fish/completions/nvm.fish
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
complete --command nvm --exclusive
|
||||
complete --command nvm --exclusive --long version --description "Print version"
|
||||
complete --command nvm --exclusive --long help --description "Print help"
|
||||
complete --command nvm --long silent --description "Suppress standard output"
|
||||
|
||||
complete --command nvm --exclusive --condition __fish_use_subcommand --arguments install --description "Download and activate the specified Node version"
|
||||
complete --command nvm --exclusive --condition __fish_use_subcommand --arguments use --description "Activate the specified Node version in the current shell"
|
||||
complete --command nvm --exclusive --condition __fish_use_subcommand --arguments list --description "List installed Node versions"
|
||||
complete --command nvm --exclusive --condition __fish_use_subcommand --arguments list-remote --description "List available Node versions to install"
|
||||
complete --command nvm --exclusive --condition __fish_use_subcommand --arguments current --description "Print the currently-active Node version"
|
||||
complete --command nvm --exclusive --condition "__fish_seen_subcommand_from install" --arguments "(
|
||||
test -e $nvm_data && string split ' ' <$nvm_data/.index
|
||||
)"
|
||||
complete --command nvm --exclusive --condition "__fish_seen_subcommand_from use" --arguments "(_nvm_list | string split ' ')"
|
||||
complete --command nvm --exclusive --condition __fish_use_subcommand --arguments uninstall --description "Uninstall the specified Node version"
|
||||
complete --command nvm --exclusive --condition "__fish_seen_subcommand_from uninstall" --arguments "(
|
||||
_nvm_list | string split ' ' | string replace system ''
|
||||
)"
|
||||
complete --command nvm --exclusive --condition "__fish_seen_subcommand_from use uninstall" --arguments "(
|
||||
set --query nvm_default_version && echo default
|
||||
)"
|
||||
95
fish/conf.d/fish-exa.fish
Normal file
95
fish/conf.d/fish-exa.fish
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
function __fish_exa_install --on-event fish-exa_install
|
||||
function _set
|
||||
if not set --query --universal --export $argv[1]
|
||||
set --universal --export $argv[1] $argv[2..-1]
|
||||
end
|
||||
end
|
||||
|
||||
# Prefer eza as exa is unmaintained
|
||||
if type -q eza
|
||||
set -Ux __FISH_EXA_BINARY eza
|
||||
else
|
||||
set -Ux __FISH_EXA_BINARY exa
|
||||
end
|
||||
|
||||
set -Ux __FISH_EXA_BASE_ALIASES l ll lg le lt lc lo
|
||||
set -Ux __FISH_EXA_EXPANDED a d i id aa ad ai aid aad aai aaid
|
||||
set -Ux __FISH_EXA_EXPANDED_OPT_NAME LA LD LI LID LAA LAD LAI LAID LAAD LAAI LAAID
|
||||
set -Ux __FISH_EXA_OPT_NAMES
|
||||
set -Ux __FISH_EXA_ALIASES
|
||||
set -Ux __FISH_EXA_SORT_OPTIONS name .name size ext mod old acc cr inode
|
||||
|
||||
_set EXA_STANDARD_OPTIONS "--group" "--header" "--group-directories-first"
|
||||
|
||||
# Base aliases
|
||||
_set EXA_L_OPTIONS
|
||||
_set EXA_LL_OPTIONS "--long"
|
||||
_set EXA_LG_OPTIONS "--git" "--git-ignore" "--long"
|
||||
_set EXA_LE_OPTIONS "--extended" "--long"
|
||||
_set EXA_LT_OPTIONS "--tree" "--level"
|
||||
_set EXA_LC_OPTIONS "--across"
|
||||
_set EXA_LO_OPTIONS "--oneline"
|
||||
|
||||
# Extended aliases
|
||||
_set EXA_LI_OPTIONS "--icons"
|
||||
_set EXA_LD_OPTIONS "--only-dirs"
|
||||
_set EXA_LID_OPTIONS "--icons" "--only-dirs"
|
||||
_set EXA_LA_OPTIONS "--all" "--binary"
|
||||
_set EXA_LAD_OPTIONS "--all" "--binary" "--only-dirs"
|
||||
_set EXA_LAI_OPTIONS "--all" "--binary" "--icons"
|
||||
_set EXA_LAID_OPTIONS "--all" "--binary" "--icons" "--only-dirs"
|
||||
_set EXA_LAA_OPTIONS "--all" "--all" "--binary"
|
||||
_set EXA_LAAD_OPTIONS "--all" "--all" "--binary" "--only-dirs"
|
||||
_set EXA_LAAI_OPTIONS "--all" "--all" "--binary" "--icons"
|
||||
_set EXA_LAAID_OPTIONS "--all" "--all" "--binary" "--icons" "--only-dirs"
|
||||
|
||||
for a in $__FISH_EXA_BASE_ALIASES
|
||||
set -l opt_name (string join '_' "EXA" (string upper $a) "OPTIONS")
|
||||
if test $a = "ll"
|
||||
alias --save "$a" "exa_git"
|
||||
else
|
||||
alias --save "$a" "$__FISH_EXA_BINARY \$EXA_STANDARD_OPTIONS \$$opt_name"
|
||||
end
|
||||
set -a __FISH_EXA_OPT_NAMES "$opt_name"
|
||||
set -a __FISH_EXA_ALIASES "$a"
|
||||
|
||||
for i in (seq (count $__FISH_EXA_EXPANDED))
|
||||
set -l name "$a$__FISH_EXA_EXPANDED[$i]"
|
||||
# --tree is useless given --all --all
|
||||
if test $name = "ltaa"; or test $name = "ltaac"
|
||||
continue
|
||||
end
|
||||
set -l exp_opt_name (string join '_' "EXA" $__FISH_EXA_EXPANDED_OPT_NAME[$i] "OPTIONS")
|
||||
if string match --quiet 'll*' "$name"
|
||||
alias --save "$name" "exa_git \$$exp_opt_name"
|
||||
else
|
||||
alias --save "$name" "$__FISH_EXA_BINARY \$EXA_STANDARD_OPTIONS \$$exp_opt_name \$$opt_name"
|
||||
end
|
||||
set -a __FISH_EXA_ALIASES "$name"
|
||||
|
||||
if not contains $exp_opt_name $__FISH_EXA_OPT_NAMES
|
||||
set -a __FISH_EXA_OPT_NAMES $exp_opt_name
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function __fish_exa_update --on-event fish-exa_update
|
||||
__fish_exa_uninstall
|
||||
__fish_exa_install
|
||||
end
|
||||
|
||||
function __fish_exa_uninstall --on-event fish-exa_uninstall
|
||||
for a in $__FISH_EXA_ALIASES
|
||||
functions --erase $a
|
||||
funcsave $a
|
||||
end
|
||||
|
||||
set --erase __FISH_EXA_BASE_ALIASES
|
||||
set --erase __FISH_EXA_ALIASES
|
||||
set --erase __FISH_EXA_EXPANDED
|
||||
set --erase __FISH_EXA_EXPANDED_OPT_NAME
|
||||
set --erase __FISH_EXA_OPT_NAMES
|
||||
set --erase __FISH_EXA_SORT_OPTIONS
|
||||
set --erase __FISH_EXA_BINARY
|
||||
end
|
||||
4
fish/conf.d/ghq_key_bindings.fish
Normal file
4
fish/conf.d/ghq_key_bindings.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
bind \cg '__ghq_repository_search'
|
||||
if bind -M insert >/dev/null 2>/dev/null
|
||||
bind -M insert \cg '__ghq_repository_search'
|
||||
end
|
||||
28
fish/conf.d/nvm.fish
Normal file
28
fish/conf.d/nvm.fish
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
set --query XDG_DATA_HOME || set --local XDG_DATA_HOME ~/.local/share
|
||||
set --query nvm_mirror || set --global nvm_mirror https://nodejs.org/dist
|
||||
set --query nvm_data || set --global nvm_data $XDG_DATA_HOME/nvm
|
||||
|
||||
function _nvm_install --on-event nvm_install
|
||||
test ! -d $nvm_data && command mkdir -p $nvm_data
|
||||
echo "Downloading the Node distribution index..." 2>/dev/null
|
||||
_nvm_index_update
|
||||
end
|
||||
|
||||
function _nvm_update --on-event nvm_update
|
||||
set --query --universal nvm_data && set --erase --universal nvm_data
|
||||
set --query --universal nvm_mirror && set --erase --universal nvm_mirror
|
||||
set --query nvm_mirror || set --global nvm_mirror https://nodejs.org/dist
|
||||
end
|
||||
|
||||
function _nvm_uninstall --on-event nvm_uninstall
|
||||
command rm -rf $nvm_data
|
||||
|
||||
set --query nvm_current_version && _nvm_version_deactivate $nvm_current_version
|
||||
|
||||
set --names | string replace --filter --regex -- "^nvm" "set --erase nvm" | source
|
||||
functions --erase (functions --all | string match --entire --regex -- "^_nvm_")
|
||||
end
|
||||
|
||||
if status is-interactive && set --query nvm_default_version && ! set --query nvm_current_version
|
||||
nvm use --silent $nvm_default_version
|
||||
end
|
||||
63
fish/conf.d/z.fish
Normal file
63
fish/conf.d/z.fish
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
if test -z "$Z_DATA"
|
||||
if test -z "$XDG_DATA_HOME"
|
||||
set -U Z_DATA_DIR "$HOME/.local/share/z"
|
||||
else
|
||||
set -U Z_DATA_DIR "$XDG_DATA_HOME/z"
|
||||
end
|
||||
set -U Z_DATA "$Z_DATA_DIR/data"
|
||||
end
|
||||
|
||||
if test ! -e "$Z_DATA"
|
||||
if test ! -e "$Z_DATA_DIR"
|
||||
mkdir -p -m 700 "$Z_DATA_DIR"
|
||||
end
|
||||
touch "$Z_DATA"
|
||||
end
|
||||
|
||||
if test -z "$Z_CMD"
|
||||
set -U Z_CMD z
|
||||
end
|
||||
|
||||
set -U ZO_CMD "$Z_CMD"o
|
||||
|
||||
if test ! -z $Z_CMD
|
||||
function $Z_CMD -d "jump around"
|
||||
__z $argv
|
||||
end
|
||||
end
|
||||
|
||||
if test ! -z $ZO_CMD
|
||||
function $ZO_CMD -d "open target dir"
|
||||
__z -d $argv
|
||||
end
|
||||
end
|
||||
|
||||
if not set -q Z_EXCLUDE
|
||||
set -U Z_EXCLUDE "^$HOME\$"
|
||||
else if contains $HOME $Z_EXCLUDE
|
||||
# Workaround: migrate old default values to a regex (see #90).
|
||||
set Z_EXCLUDE (string replace -r -- "^$HOME\$" '^'$HOME'$$' $Z_EXCLUDE)
|
||||
end
|
||||
|
||||
# Setup completions once first
|
||||
__z_complete
|
||||
|
||||
function __z_on_variable_pwd --on-variable PWD
|
||||
__z_add
|
||||
end
|
||||
|
||||
function __z_uninstall --on-event z_uninstall
|
||||
functions -e __z_on_variable_pwd
|
||||
functions -e $Z_CMD
|
||||
functions -e $ZO_CMD
|
||||
|
||||
if test ! -z "$Z_DATA"
|
||||
printf "To completely erase z's data, remove:\n" >/dev/stderr
|
||||
printf "%s\n" "$Z_DATA" >/dev/stderr
|
||||
end
|
||||
|
||||
set -e Z_CMD
|
||||
set -e ZO_CMD
|
||||
set -e Z_DATA
|
||||
set -e Z_EXCLUDE
|
||||
end
|
||||
29
fish/config.fish
Normal file
29
fish/config.fish
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
if status is-interactive
|
||||
# Commands to run in interactive sessions can go here
|
||||
end
|
||||
|
||||
# fisher
|
||||
set -Ux fish_user_paths $fish_user_paths /usr/local/bin
|
||||
|
||||
# brew
|
||||
set -g PATH /opt/homebrew/bin $PATH
|
||||
|
||||
# mysql
|
||||
set -g PATH /usr/local/mysql/bin $PATH
|
||||
|
||||
# golang
|
||||
set -Ux GOPATH /Users/m1ng/Documents/PF/data/go
|
||||
set -Ux PATH $PATH $GOPATH/bin
|
||||
|
||||
thefuck --alias | source
|
||||
|
||||
function fish_greeting
|
||||
echo 'Talk is cheap. Show me the code.' | lolcat -a -d 10
|
||||
end
|
||||
|
||||
# pnpm
|
||||
set -gx PNPM_HOME "/Users/m1ng/Library/pnpm"
|
||||
if not string match -q -- $PNPM_HOME $PATH
|
||||
set -gx PATH "$PNPM_HOME" $PATH
|
||||
end
|
||||
# pnpm end
|
||||
6
fish/fish_plugins
Normal file
6
fish/fish_plugins
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
jethrokuan/z
|
||||
jorgebucaran/nvm.fish
|
||||
simnalamburt/shellder
|
||||
decors/fish-ghq
|
||||
jorgebucaran/fisher
|
||||
gazorby/fish-exa
|
||||
83
fish/fish_variables
Normal file
83
fish/fish_variables
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR --export EXA_LAAD_OPTIONS:\x2d\x2dall\x1e\x2d\x2dall\x1e\x2d\x2dbinary\x1e\x2d\x2donly\x2ddirs
|
||||
SETUVAR --export EXA_LAAID_OPTIONS:\x2d\x2dall\x1e\x2d\x2dall\x1e\x2d\x2dbinary\x1e\x2d\x2dicons\x1e\x2d\x2donly\x2ddirs
|
||||
SETUVAR --export EXA_LAAI_OPTIONS:\x2d\x2dall\x1e\x2d\x2dall\x1e\x2d\x2dbinary\x1e\x2d\x2dicons
|
||||
SETUVAR --export EXA_LAA_OPTIONS:\x2d\x2dall\x1e\x2d\x2dall\x1e\x2d\x2dbinary
|
||||
SETUVAR --export EXA_LAD_OPTIONS:\x2d\x2dall\x1e\x2d\x2dbinary\x1e\x2d\x2donly\x2ddirs
|
||||
SETUVAR --export EXA_LAID_OPTIONS:\x2d\x2dall\x1e\x2d\x2dbinary\x1e\x2d\x2dicons\x1e\x2d\x2donly\x2ddirs
|
||||
SETUVAR --export EXA_LAI_OPTIONS:\x2d\x2dall\x1e\x2d\x2dbinary\x1e\x2d\x2dicons
|
||||
SETUVAR --export EXA_LA_OPTIONS:\x2d\x2dall\x1e\x2d\x2dbinary
|
||||
SETUVAR --export EXA_LC_OPTIONS:\x2d\x2dacross
|
||||
SETUVAR --export EXA_LD_OPTIONS:\x2d\x2donly\x2ddirs
|
||||
SETUVAR --export EXA_LE_OPTIONS:\x2d\x2dextended\x1e\x2d\x2dlong
|
||||
SETUVAR --export EXA_LG_OPTIONS:\x2d\x2dgit\x1e\x2d\x2dgit\x2dignore\x1e\x2d\x2dlong
|
||||
SETUVAR --export EXA_LID_OPTIONS:\x2d\x2dicons\x1e\x2d\x2donly\x2ddirs
|
||||
SETUVAR --export EXA_LI_OPTIONS:\x2d\x2dicons
|
||||
SETUVAR --export EXA_LL_OPTIONS:\x2d\x2dlong
|
||||
SETUVAR --export EXA_LO_OPTIONS:\x2d\x2doneline
|
||||
SETUVAR --export EXA_LT_OPTIONS:\x2d\x2dtree\x1e\x2d\x2dlevel
|
||||
SETUVAR --export EXA_L_OPTIONS:\x1d
|
||||
SETUVAR --export EXA_STANDARD_OPTIONS:\x2d\x2dgroup\x1e\x2d\x2dheader\x1e\x2d\x2dgroup\x2ddirectories\x2dfirst
|
||||
SETUVAR --export --path GOPATH:/Users/m1ng/Documents/PF/data/go
|
||||
SETUVAR --export --path PATH:/usr/local/mysql/bin\x1e/opt/homebrew/bin\x1e/opt/homebrew/sbin\x1e/opt/homebrew/opt/openjdk/bin\x1e/usr/local/bin\x1e/System/Cryptexes/App/usr/bin\x1e/usr/bin\x1e/bin\x1e/usr/sbin\x1e/sbin\x1e/var/run/com\x2eapple\x2esecurity\x2ecryptexd/codex\x2esystem/bootstrap/usr/local/bin\x1e/var/run/com\x2eapple\x2esecurity\x2ecryptexd/codex\x2esystem/bootstrap/usr/bin\x1e/var/run/com\x2eapple\x2esecurity\x2ecryptexd/codex\x2esystem/bootstrap/usr/appleinternal/bin\x1e/Library/Apple/usr/bin\x1e/Applications/iTerm\x2eapp/Contents/Resources/utilities\x1e/Users/m1ng/Documents/PF/data/go/bin
|
||||
SETUVAR ZO_CMD:zo
|
||||
SETUVAR Z_CMD:z
|
||||
SETUVAR Z_DATA:/Users/m1ng/\x2elocal/share/z/data
|
||||
SETUVAR Z_DATA_DIR:/Users/m1ng/\x2elocal/share/z
|
||||
SETUVAR Z_EXCLUDE:\x5e/Users/m1ng\x24
|
||||
SETUVAR --export __FISH_EXA_ALIASES:l\x1ela\x1eld\x1eli\x1elid\x1elaa\x1elad\x1elai\x1elaid\x1elaad\x1elaai\x1elaaid\x1ell\x1ella\x1elld\x1elli\x1ellid\x1ellaa\x1ellad\x1ellai\x1ellaid\x1ellaad\x1ellaai\x1ellaaid\x1elg\x1elga\x1elgd\x1elgi\x1elgid\x1elgaa\x1elgad\x1elgai\x1elgaid\x1elgaad\x1elgaai\x1elgaaid\x1ele\x1elea\x1eled\x1elei\x1eleid\x1eleaa\x1elead\x1eleai\x1eleaid\x1eleaad\x1eleaai\x1eleaaid\x1elt\x1elta\x1eltd\x1elti\x1eltid\x1eltad\x1eltai\x1eltaid\x1eltaad\x1eltaai\x1eltaaid\x1elc\x1elca\x1elcd\x1elci\x1elcid\x1elcaa\x1elcad\x1elcai\x1elcaid\x1elcaad\x1elcaai\x1elcaaid\x1elo\x1eloa\x1elod\x1eloi\x1eloid\x1eloaa\x1eload\x1eloai\x1eloaid\x1eloaad\x1eloaai\x1eloaaid
|
||||
SETUVAR --export __FISH_EXA_BASE_ALIASES:l\x1ell\x1elg\x1ele\x1elt\x1elc\x1elo
|
||||
SETUVAR --export __FISH_EXA_BINARY:eza
|
||||
SETUVAR --export __FISH_EXA_EXPANDED:a\x1ed\x1ei\x1eid\x1eaa\x1ead\x1eai\x1eaid\x1eaad\x1eaai\x1eaaid
|
||||
SETUVAR --export __FISH_EXA_EXPANDED_OPT_NAME:LA\x1eLD\x1eLI\x1eLID\x1eLAA\x1eLAD\x1eLAI\x1eLAID\x1eLAAD\x1eLAAI\x1eLAAID
|
||||
SETUVAR --export __FISH_EXA_OPT_NAMES:EXA_L_OPTIONS\x1eEXA_LA_OPTIONS\x1eEXA_LD_OPTIONS\x1eEXA_LI_OPTIONS\x1eEXA_LID_OPTIONS\x1eEXA_LAA_OPTIONS\x1eEXA_LAD_OPTIONS\x1eEXA_LAI_OPTIONS\x1eEXA_LAID_OPTIONS\x1eEXA_LAAD_OPTIONS\x1eEXA_LAAI_OPTIONS\x1eEXA_LAAID_OPTIONS\x1eEXA_LL_OPTIONS\x1eEXA_LG_OPTIONS\x1eEXA_LE_OPTIONS\x1eEXA_LT_OPTIONS\x1eEXA_LC_OPTIONS\x1eEXA_LO_OPTIONS
|
||||
SETUVAR --export __FISH_EXA_SORT_OPTIONS:name\x1e\x2ename\x1esize\x1eext\x1emod\x1eold\x1eacc\x1ecr\x1einode
|
||||
SETUVAR __fish_initialized:3800
|
||||
SETUVAR _fisher_decors_2F_fish_2D_ghq_files:\x7e/\x2econfig/fish/functions/__ghq_repository_search\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/ghq_key_bindings\x2efish\x1e\x7e/\x2econfig/fish/completions/ghq\x2efish
|
||||
SETUVAR _fisher_gazorby_2F_fish_2D_exa_files:\x7e/\x2econfig/fish/functions/exa_git\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/fish\x2dexa\x2efish
|
||||
SETUVAR _fisher_jethrokuan_2F_z_files:\x7e/\x2econfig/fish/functions/__z\x2efish\x1e\x7e/\x2econfig/fish/functions/__z_add\x2efish\x1e\x7e/\x2econfig/fish/functions/__z_clean\x2efish\x1e\x7e/\x2econfig/fish/functions/__z_complete\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/z\x2efish
|
||||
SETUVAR _fisher_jorgebucaran_2F_fisher_files:\x7e/\x2econfig/fish/functions/fisher\x2efish\x1e\x7e/\x2econfig/fish/completions/fisher\x2efish
|
||||
SETUVAR _fisher_jorgebucaran_2F_nvm_2E_fish_files:\x7e/\x2econfig/fish/functions/_nvm_index_update\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_list\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_version_activate\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_version_deactivate\x2efish\x1e\x7e/\x2econfig/fish/functions/nvm\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/nvm\x2efish\x1e\x7e/\x2econfig/fish/completions/nvm\x2efish
|
||||
SETUVAR _fisher_plugins:jethrokuan/z\x1ejorgebucaran/nvm\x2efish\x1esimnalamburt/shellder\x1edecors/fish\x2dghq\x1ejorgebucaran/fisher\x1egazorby/fish\x2dexa
|
||||
SETUVAR _fisher_upgraded_to_4_4:\x1d
|
||||
SETUVAR fish_color_autosuggestion:777777
|
||||
SETUVAR fish_color_cancel:\x2d\x2dreverse
|
||||
SETUVAR fish_color_command:00FF00
|
||||
SETUVAR fish_color_comment:30BE30
|
||||
SETUVAR fish_color_cwd:green
|
||||
SETUVAR fish_color_cwd_root:red
|
||||
SETUVAR fish_color_end:FF7B7B
|
||||
SETUVAR fish_color_error:A40000
|
||||
SETUVAR fish_color_escape:00a6b2
|
||||
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||
SETUVAR fish_color_host:normal
|
||||
SETUVAR fish_color_host_remote:yellow
|
||||
SETUVAR fish_color_keyword:00FF00
|
||||
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
|
||||
SETUVAR fish_color_normal:normal
|
||||
SETUVAR fish_color_operator:00a6b2
|
||||
SETUVAR fish_color_option:30BE30
|
||||
SETUVAR fish_color_param:30BE30
|
||||
SETUVAR fish_color_quote:44FF44
|
||||
SETUVAR fish_color_redirection:7BFF7B
|
||||
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_status:red
|
||||
SETUVAR fish_color_user:brgreen
|
||||
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||
SETUVAR fish_pager_color_background:\x1d
|
||||
SETUVAR fish_pager_color_completion:normal
|
||||
SETUVAR fish_pager_color_description:B3A06D
|
||||
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SETUVAR fish_pager_color_secondary_background:\x1d
|
||||
SETUVAR fish_pager_color_secondary_completion:\x1d
|
||||
SETUVAR fish_pager_color_secondary_description:\x1d
|
||||
SETUVAR fish_pager_color_secondary_prefix:\x1d
|
||||
SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_pager_color_selected_completion:\x1d
|
||||
SETUVAR fish_pager_color_selected_description:\x1d
|
||||
SETUVAR fish_pager_color_selected_prefix:\x1d
|
||||
SETUVAR --export fish_user_paths:/opt/homebrew/sbin\x1e/opt/homebrew/opt/openjdk/bin\x1e/usr/local/bin
|
||||
22
fish/functions/__ghq_repository_search.fish
Normal file
22
fish/functions/__ghq_repository_search.fish
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
function __ghq_repository_search -d 'Repository search'
|
||||
set -l selector
|
||||
[ -n "$GHQ_SELECTOR" ]; and set selector $GHQ_SELECTOR; or set selector fzf
|
||||
set -l selector_options
|
||||
[ -n "$GHQ_SELECTOR_OPTS" ]; and set selector_options $GHQ_SELECTOR_OPTS
|
||||
|
||||
if not type -qf $selector
|
||||
printf "\nERROR: '$selector' not found.\n"
|
||||
return 1
|
||||
end
|
||||
|
||||
set -l query (commandline -b)
|
||||
[ -n "$query" ]; and set flags --query="$query"; or set flags
|
||||
switch "$selector"
|
||||
case fzf fzf-tmux peco percol fzy sk
|
||||
ghq list --full-path | "$selector" $selector_options $flags | read select
|
||||
case \*
|
||||
printf "\nERROR: plugin-ghq is not support '$selector'.\n"
|
||||
end
|
||||
[ -n "$select" ]; and cd "$select"
|
||||
commandline -f repaint
|
||||
end
|
||||
174
fish/functions/__z.fish
Normal file
174
fish/functions/__z.fish
Normal file
|
|
@ -0,0 +1,174 @@
|
|||
function __z -d "Jump to a recent directory."
|
||||
function __print_help -d "Print z help."
|
||||
printf "Usage: $Z_CMD [-celrth] string1 string2...\n\n"
|
||||
printf " -c --clean Removes directories that no longer exist from $Z_DATA\n"
|
||||
printf " -d --dir Opens matching directory using system file manager.\n"
|
||||
printf " -e --echo Prints best match, no cd\n"
|
||||
printf " -l --list List matches and scores, no cd\n"
|
||||
printf " -p --purge Delete all entries from $Z_DATA\n"
|
||||
printf " -r --rank Search by rank\n"
|
||||
printf " -t --recent Search by recency\n"
|
||||
printf " -x --delete Removes the current directory from $Z_DATA\n"
|
||||
printf " -h --help Print this help\n\n"
|
||||
end
|
||||
function __z_legacy_escape_regex
|
||||
# taken from escape_string_pcre2 in fish
|
||||
# used to provide compatibility with fish 2
|
||||
for c in (string split -- '' $argv)
|
||||
if contains $c (string split '' '.^$*+()?[{}\\|-]')
|
||||
printf \\
|
||||
end
|
||||
printf '%s' $c
|
||||
end
|
||||
end
|
||||
|
||||
set -l options h/help c/clean e/echo l/list p/purge r/rank t/recent d/directory x/delete
|
||||
|
||||
argparse $options -- $argv
|
||||
|
||||
if set -q _flag_help
|
||||
__print_help
|
||||
return 0
|
||||
else if set -q _flag_clean
|
||||
__z_clean
|
||||
printf "%s cleaned!\n" $Z_DATA
|
||||
return 0
|
||||
else if set -q _flag_purge
|
||||
echo >$Z_DATA
|
||||
printf "%s purged!\n" $Z_DATA
|
||||
return 0
|
||||
else if set -q _flag_delete
|
||||
sed -i -e "\:^$PWD|.*:d" $Z_DATA
|
||||
return 0
|
||||
end
|
||||
|
||||
set -l typ
|
||||
|
||||
if set -q _flag_rank
|
||||
set typ rank
|
||||
else if set -q _flag_recent
|
||||
set typ recent
|
||||
end
|
||||
|
||||
set -l z_script '
|
||||
function frecent(rank, time) {
|
||||
dx = t-time
|
||||
if( dx < 3600 ) return rank*4
|
||||
if( dx < 86400 ) return rank*2
|
||||
if( dx < 604800 ) return rank/2
|
||||
return rank/4
|
||||
}
|
||||
|
||||
function output(matches, best_match, common) {
|
||||
# list or return the desired directory
|
||||
if( list ) {
|
||||
cmd = "sort -nr"
|
||||
for( x in matches ) {
|
||||
if( matches[x] ) {
|
||||
printf "%-10s %s\n", matches[x], x | cmd
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if( common ) best_match = common
|
||||
print best_match
|
||||
}
|
||||
}
|
||||
|
||||
function common(matches) {
|
||||
# find the common root of a list of matches, if it exists
|
||||
for( x in matches ) {
|
||||
if( matches[x] && (!short || length(x) < length(short)) ) {
|
||||
short = x
|
||||
}
|
||||
}
|
||||
if( short == "/" ) return
|
||||
for( x in matches ) if( matches[x] && index(x, short) != 1 ) {
|
||||
return
|
||||
}
|
||||
return short
|
||||
}
|
||||
|
||||
BEGIN {
|
||||
hi_rank = ihi_rank = -9999999999
|
||||
}
|
||||
{
|
||||
if( typ == "rank" ) {
|
||||
rank = $2
|
||||
} else if( typ == "recent" ) {
|
||||
rank = $3 - t
|
||||
} else rank = frecent($2, $3)
|
||||
if( $1 ~ q ) {
|
||||
matches[$1] = rank
|
||||
} else if( tolower($1) ~ tolower(q) ) imatches[$1] = rank
|
||||
if( matches[$1] && matches[$1] > hi_rank ) {
|
||||
best_match = $1
|
||||
hi_rank = matches[$1]
|
||||
} else if( imatches[$1] && imatches[$1] > ihi_rank ) {
|
||||
ibest_match = $1
|
||||
ihi_rank = imatches[$1]
|
||||
}
|
||||
}
|
||||
|
||||
END {
|
||||
# prefer case sensitive
|
||||
if( best_match ) {
|
||||
output(matches, best_match, common(matches))
|
||||
} else if( ibest_match ) {
|
||||
output(imatches, ibest_match, common(imatches))
|
||||
}
|
||||
}
|
||||
'
|
||||
|
||||
set -l qs
|
||||
for arg in $argv
|
||||
set -l escaped $arg
|
||||
if string escape --style=regex '' >/dev/null 2>&1 # use builtin escape if available
|
||||
set escaped (string escape --style=regex -- $escaped)
|
||||
else
|
||||
set escaped (__z_legacy_escape_regex $escaped)
|
||||
end
|
||||
# Need to escape twice, see https://www.math.utah.edu/docs/info/gawk_5.html#SEC32
|
||||
set escaped (string replace --all -- \\ \\\\ $escaped)
|
||||
set qs $qs $escaped
|
||||
end
|
||||
set -l q (string join -- '.*' $qs)
|
||||
|
||||
if set -q _flag_list
|
||||
# Handle list separately as it can print common path information to stderr
|
||||
# which cannot be captured from a subcommand.
|
||||
command awk -v t=(date +%s) -v list="list" -v typ="$typ" -v q="$q" -F "|" $z_script "$Z_DATA"
|
||||
return
|
||||
end
|
||||
|
||||
set target (command awk -v t=(date +%s) -v typ="$typ" -v q="$q" -F "|" $z_script "$Z_DATA")
|
||||
|
||||
if test "$status" -gt 0
|
||||
return
|
||||
end
|
||||
|
||||
if test -z "$target"
|
||||
printf "'%s' did not match any results\n" "$argv"
|
||||
return 1
|
||||
end
|
||||
|
||||
if set -q _flag_echo
|
||||
printf "%s\n" "$target"
|
||||
else if set -q _flag_directory
|
||||
if test -n "$ZO_METHOD"
|
||||
type -q "$ZO_METHOD"; and "$ZO_METHOD" "$target"; and return $status
|
||||
echo "Cannot open with ZO_METHOD set to $ZO_METHOD"; and return 1
|
||||
else if test "$OS" = Windows_NT
|
||||
# Be careful, in msys2, explorer always return 1
|
||||
type -q explorer; and explorer "$target"
|
||||
return 0
|
||||
echo "Cannot open file explorer"
|
||||
return 1
|
||||
else
|
||||
type -q xdg-open; and xdg-open "$target"; and return $status
|
||||
type -q open; and open "$target"; and return $status
|
||||
echo "Not sure how to open file manager"; and return 1
|
||||
end
|
||||
else
|
||||
pushd "$target"
|
||||
end
|
||||
end
|
||||
49
fish/functions/__z_add.fish
Normal file
49
fish/functions/__z_add.fish
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
function __z_add -d "Add PATH to .z file"
|
||||
test -n "$fish_private_mode"; and return 0
|
||||
|
||||
for i in $Z_EXCLUDE
|
||||
if string match -r $i $PWD >/dev/null
|
||||
return 0 #Path excluded
|
||||
end
|
||||
end
|
||||
|
||||
set -l tmpfile (mktemp $Z_DATA.XXXXXX)
|
||||
|
||||
if test -f $tmpfile
|
||||
set -l path (string replace --all \\ \\\\ $PWD)
|
||||
command awk -v path=$path -v now=(date +%s) -F "|" '
|
||||
BEGIN {
|
||||
rank[path] = 1
|
||||
time[path] = now
|
||||
}
|
||||
$2 >= 1 {
|
||||
if( $1 == path ) {
|
||||
rank[$1] = $2 + 1
|
||||
time[$1] = now
|
||||
}
|
||||
else {
|
||||
rank[$1] = $2
|
||||
time[$1] = $3
|
||||
}
|
||||
count += $2
|
||||
}
|
||||
END {
|
||||
if( count > 1000 ) {
|
||||
for( i in rank ) print i "|" 0.9*rank[i] "|" time[i] # aging
|
||||
}
|
||||
else for( i in rank ) print i "|" rank[i] "|" time[i]
|
||||
}
|
||||
' $Z_DATA 2>/dev/null >$tmpfile
|
||||
|
||||
if test ! -z "$Z_OWNER"
|
||||
chown $Z_OWNER:(id -ng $Z_OWNER) $tmpfile
|
||||
end
|
||||
#
|
||||
# Don't use redirection here as it can lead to a race condition where $Z_DATA is clobbered.
|
||||
# Note: There is a still a possible race condition where an old version of $Z_DATA is
|
||||
# read by one instance of Fish before another instance of Fish writes its copy.
|
||||
#
|
||||
command mv $tmpfile $Z_DATA
|
||||
or command rm $tmpfile
|
||||
end
|
||||
end
|
||||
11
fish/functions/__z_clean.fish
Normal file
11
fish/functions/__z_clean.fish
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
function __z_clean -d "Clean up .z file to remove paths no longer valid"
|
||||
set -l tmpfile (mktemp $Z_DATA.XXXXXX)
|
||||
|
||||
if test -f $tmpfile
|
||||
while read line
|
||||
set -l path (string split '|' $line)[1]
|
||||
test -d $path; and echo $line
|
||||
end <$Z_DATA >$tmpfile
|
||||
command mv -f $tmpfile $Z_DATA
|
||||
end
|
||||
end
|
||||
13
fish/functions/__z_complete.fish
Normal file
13
fish/functions/__z_complete.fish
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
function __z_complete -d "add completions"
|
||||
complete -c $Z_CMD -a "(__z -l | string replace -r '^\\S*\\s*' '')" -f -k
|
||||
complete -c $ZO_CMD -a "(__z -l | string replace -r '^\\S*\\s*' '')" -f -k
|
||||
|
||||
complete -c $Z_CMD -s c -l clean -d "Cleans out $Z_DATA"
|
||||
complete -c $Z_CMD -s e -l echo -d "Prints best match, no cd"
|
||||
complete -c $Z_CMD -s l -l list -d "List matches, no cd"
|
||||
complete -c $Z_CMD -s p -l purge -d "Purges $Z_DATA"
|
||||
complete -c $Z_CMD -s r -l rank -d "Searches by rank, cd"
|
||||
complete -c $Z_CMD -s t -l recent -d "Searches by recency, cd"
|
||||
complete -c $Z_CMD -s h -l help -d "Print help"
|
||||
complete -c $Z_CMD -s x -l delete -d "Removes the current directory from $Z_DATA"
|
||||
end
|
||||
20
fish/functions/_nvm_index_update.fish
Normal file
20
fish/functions/_nvm_index_update.fish
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
function _nvm_index_update
|
||||
test ! -d $nvm_data && command mkdir -p $nvm_data
|
||||
|
||||
set --local index $nvm_data/.index
|
||||
|
||||
if not command curl -q --location --silent $nvm_mirror/index.tab >$index.temp
|
||||
command rm -f $index.temp
|
||||
echo "nvm: Can't update index, host unavailable: \"$nvm_mirror\"" >&2
|
||||
return 1
|
||||
end
|
||||
|
||||
command awk -v OFS=\t '
|
||||
/v0.9.12/ { exit } # Unsupported
|
||||
NR > 1 {
|
||||
print $1 (NR == 2 ? " latest" : $10 != "-" ? " lts/" tolower($10) : "")
|
||||
}
|
||||
' $index.temp >$index
|
||||
|
||||
command rm -f $index.temp
|
||||
end
|
||||
14
fish/functions/_nvm_list.fish
Normal file
14
fish/functions/_nvm_list.fish
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
function _nvm_list
|
||||
set --local versions $nvm_data/*
|
||||
|
||||
set --query versions[1] &&
|
||||
string match --entire --regex -- (
|
||||
string replace --all -- $nvm_data/ "" $versions |
|
||||
string match --regex -- "v\d.+" |
|
||||
string escape --style=regex |
|
||||
string join "|"
|
||||
) <$nvm_data/.index
|
||||
|
||||
command --all node |
|
||||
string match --quiet --invert --regex -- "^$nvm_data" && echo system
|
||||
end
|
||||
4
fish/functions/_nvm_version_activate.fish
Normal file
4
fish/functions/_nvm_version_activate.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function _nvm_version_activate --argument-names ver
|
||||
set --global --export nvm_current_version $ver
|
||||
set --prepend PATH $nvm_data/$ver/bin
|
||||
end
|
||||
5
fish/functions/_nvm_version_deactivate.fish
Normal file
5
fish/functions/_nvm_version_deactivate.fish
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function _nvm_version_deactivate --argument-names ver
|
||||
test "$nvm_current_version" = "$ver" && set --erase nvm_current_version
|
||||
set --local index (contains --index -- $nvm_data/$ver/bin $PATH) &&
|
||||
set --erase PATH[$index]
|
||||
end
|
||||
7
fish/functions/exa_git.fish
Normal file
7
fish/functions/exa_git.fish
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
function exa_git -d "Use exa and its git options if in a git repo"
|
||||
if git rev-parse --is-inside-work-tree &>/dev/null
|
||||
$__FISH_EXA_BINARY $EXA_STANDARD_OPTIONS {$EXA_LL_OPTIONS} --git $argv
|
||||
else
|
||||
$__FISH_EXA_BINARY $EXA_STANDARD_OPTIONS {$EXA_LL_OPTIONS} $argv
|
||||
end
|
||||
end
|
||||
90
fish/functions/fish_prompt.fish
Normal file
90
fish/functions/fish_prompt.fish
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
function fish_prompt
|
||||
set -l __last_command_exit_status $status
|
||||
|
||||
if not set -q -g __fish_arrow_functions_defined
|
||||
set -g __fish_arrow_functions_defined
|
||||
function _git_branch_name
|
||||
set -l branch (git symbolic-ref --quiet HEAD 2>/dev/null)
|
||||
if set -q branch[1]
|
||||
echo (string replace -r '^refs/heads/' '' $branch)
|
||||
else
|
||||
echo (git rev-parse --short HEAD 2>/dev/null)
|
||||
end
|
||||
end
|
||||
|
||||
function _is_git_dirty
|
||||
not command git diff-index --cached --quiet HEAD -- &>/dev/null
|
||||
or not command git diff --no-ext-diff --quiet --exit-code &>/dev/null
|
||||
end
|
||||
|
||||
function _is_git_repo
|
||||
type -q git
|
||||
or return 1
|
||||
git rev-parse --git-dir >/dev/null 2>&1
|
||||
end
|
||||
|
||||
function _hg_branch_name
|
||||
echo (hg branch 2>/dev/null)
|
||||
end
|
||||
|
||||
function _is_hg_dirty
|
||||
set -l stat (hg status -mard 2>/dev/null)
|
||||
test -n "$stat"
|
||||
end
|
||||
|
||||
function _is_hg_repo
|
||||
fish_print_hg_root >/dev/null
|
||||
end
|
||||
|
||||
function _repo_branch_name
|
||||
_$argv[1]_branch_name
|
||||
end
|
||||
|
||||
function _is_repo_dirty
|
||||
_is_$argv[1]_dirty
|
||||
end
|
||||
|
||||
function _repo_type
|
||||
if _is_hg_repo
|
||||
echo hg
|
||||
return 0
|
||||
else if _is_git_repo
|
||||
echo git
|
||||
return 0
|
||||
end
|
||||
return 1
|
||||
end
|
||||
end
|
||||
|
||||
set -l cyan (set_color -o cyan)
|
||||
set -l yellow (set_color -o yellow)
|
||||
set -l red (set_color -o red)
|
||||
set -l green (set_color -o green)
|
||||
set -l blue (set_color -o blue)
|
||||
set -l normal (set_color normal)
|
||||
|
||||
set -l arrow_color "$green"
|
||||
if test $__last_command_exit_status != 0
|
||||
set arrow_color "$red"
|
||||
end
|
||||
|
||||
set -l arrow "$arrow_color➜ "
|
||||
if fish_is_root_user
|
||||
set arrow "$arrow_color# "
|
||||
end
|
||||
|
||||
set -l cwd $cyan(prompt_pwd | path basename)
|
||||
|
||||
set -l repo_info
|
||||
if set -l repo_type (_repo_type)
|
||||
set -l repo_branch $red(_repo_branch_name $repo_type)
|
||||
set repo_info "$blue $repo_type:($repo_branch$blue)"
|
||||
|
||||
if _is_repo_dirty $repo_type
|
||||
set -l dirty "$yellow ✗"
|
||||
set repo_info "$repo_info$dirty"
|
||||
end
|
||||
end
|
||||
|
||||
echo -n -s $arrow ' '$cwd $repo_info $normal ' '
|
||||
end
|
||||
240
fish/functions/fisher.fish
Normal file
240
fish/functions/fisher.fish
Normal file
|
|
@ -0,0 +1,240 @@
|
|||
function fisher --argument-names cmd --description "A plugin manager for Fish"
|
||||
set --query fisher_path || set --local fisher_path $__fish_config_dir
|
||||
set --local fisher_version 4.4.5
|
||||
set --local fish_plugins $__fish_config_dir/fish_plugins
|
||||
|
||||
switch "$cmd"
|
||||
case -v --version
|
||||
echo "fisher, version $fisher_version"
|
||||
case "" -h --help
|
||||
echo "Usage: fisher install <plugins...> Install plugins"
|
||||
echo " fisher remove <plugins...> Remove installed plugins"
|
||||
echo " fisher update <plugins...> Update installed plugins"
|
||||
echo " fisher update Update all installed plugins"
|
||||
echo " fisher list [<regex>] List installed plugins matching regex"
|
||||
echo "Options:"
|
||||
echo " -v, --version Print version"
|
||||
echo " -h, --help Print this help message"
|
||||
echo "Variables:"
|
||||
echo " \$fisher_path Plugin installation path. Default: $__fish_config_dir" | string replace --regex -- $HOME \~
|
||||
case ls list
|
||||
string match --entire --regex -- "$argv[2]" $_fisher_plugins
|
||||
case install update remove
|
||||
isatty || read --local --null --array stdin && set --append argv $stdin
|
||||
|
||||
set --local install_plugins
|
||||
set --local update_plugins
|
||||
set --local remove_plugins
|
||||
set --local arg_plugins $argv[2..-1]
|
||||
set --local old_plugins $_fisher_plugins
|
||||
set --local new_plugins
|
||||
|
||||
test -e $fish_plugins && set --local file_plugins (string match --regex -- '^[^\s]+$' <$fish_plugins | string replace -- \~ ~)
|
||||
|
||||
if ! set --query argv[2]
|
||||
if test "$cmd" != update
|
||||
echo "fisher: Not enough arguments for command: \"$cmd\"" >&2 && return 1
|
||||
else if ! set --query file_plugins
|
||||
echo "fisher: \"$fish_plugins\" file not found: \"$cmd\"" >&2 && return 1
|
||||
end
|
||||
set arg_plugins $file_plugins
|
||||
end
|
||||
|
||||
for plugin in $arg_plugins
|
||||
set plugin (test -e "$plugin" && realpath $plugin || string lower -- $plugin)
|
||||
contains -- "$plugin" $new_plugins || set --append new_plugins $plugin
|
||||
end
|
||||
|
||||
if set --query argv[2]
|
||||
for plugin in $new_plugins
|
||||
if contains -- "$plugin" $old_plugins
|
||||
test "$cmd" = remove &&
|
||||
set --append remove_plugins $plugin ||
|
||||
set --append update_plugins $plugin
|
||||
else if test "$cmd" = install
|
||||
set --append install_plugins $plugin
|
||||
else
|
||||
echo "fisher: Plugin not installed: \"$plugin\"" >&2 && return 1
|
||||
end
|
||||
end
|
||||
else
|
||||
for plugin in $new_plugins
|
||||
contains -- "$plugin" $old_plugins &&
|
||||
set --append update_plugins $plugin ||
|
||||
set --append install_plugins $plugin
|
||||
end
|
||||
|
||||
for plugin in $old_plugins
|
||||
contains -- "$plugin" $new_plugins || set --append remove_plugins $plugin
|
||||
end
|
||||
end
|
||||
|
||||
set --local pid_list
|
||||
set --local source_plugins
|
||||
set --local fetch_plugins $update_plugins $install_plugins
|
||||
set --local fish_path (status fish-path)
|
||||
|
||||
echo (set_color --bold)fisher $cmd version $fisher_version(set_color normal)
|
||||
|
||||
for plugin in $fetch_plugins
|
||||
set --local source (command mktemp -d)
|
||||
set --append source_plugins $source
|
||||
|
||||
command mkdir -p $source/{completions,conf.d,themes,functions}
|
||||
|
||||
$fish_path --command "
|
||||
if test -e $plugin
|
||||
command cp -Rf $plugin/* $source
|
||||
else
|
||||
set temp (command mktemp -d)
|
||||
set repo (string split -- \@ $plugin) || set repo[2] HEAD
|
||||
|
||||
if set path (string replace --regex -- '^(https://)?gitlab.com/' '' \$repo[1])
|
||||
set name (string split -- / \$path)[-1]
|
||||
set url https://gitlab.com/\$path/-/archive/\$repo[2]/\$name-\$repo[2].tar.gz
|
||||
else
|
||||
set url https://api.github.com/repos/\$repo[1]/tarball/\$repo[2]
|
||||
end
|
||||
|
||||
echo Fetching (set_color --underline)\$url(set_color normal)
|
||||
|
||||
if command curl -q --silent -L \$url | command tar -xzC \$temp -f - 2>/dev/null
|
||||
command cp -Rf \$temp/*/* $source
|
||||
else
|
||||
echo fisher: Invalid plugin name or host unavailable: \\\"$plugin\\\" >&2
|
||||
command rm -rf $source
|
||||
end
|
||||
|
||||
command rm -rf \$temp
|
||||
end
|
||||
|
||||
set files $source/* && string match --quiet --regex -- .+\.fish\\\$ \$files
|
||||
" &
|
||||
|
||||
set --append pid_list (jobs --last --pid)
|
||||
end
|
||||
|
||||
wait $pid_list 2>/dev/null
|
||||
|
||||
for plugin in $fetch_plugins
|
||||
if set --local source $source_plugins[(contains --index -- "$plugin" $fetch_plugins)] && test ! -e $source
|
||||
if set --local index (contains --index -- "$plugin" $install_plugins)
|
||||
set --erase install_plugins[$index]
|
||||
else
|
||||
set --erase update_plugins[(contains --index -- "$plugin" $update_plugins)]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
for plugin in $update_plugins $remove_plugins
|
||||
if set --local index (contains --index -- "$plugin" $_fisher_plugins)
|
||||
set --local plugin_files_var _fisher_(string escape --style=var -- $plugin)_files
|
||||
|
||||
if contains -- "$plugin" $remove_plugins
|
||||
for name in (string replace --filter --regex -- '.+/conf\.d/([^/]+)\.fish$' '$1' $$plugin_files_var)
|
||||
emit {$name}_uninstall
|
||||
end
|
||||
printf "%s\n" Removing\ (set_color red --bold)$plugin(set_color normal) " "$$plugin_files_var | string replace -- \~ ~
|
||||
set --erase _fisher_plugins[$index]
|
||||
end
|
||||
|
||||
command rm -rf (string replace -- \~ ~ $$plugin_files_var)
|
||||
|
||||
functions --erase (string replace --filter --regex -- '.+/functions/([^/]+)\.fish$' '$1' $$plugin_files_var)
|
||||
|
||||
for name in (string replace --filter --regex -- '.+/completions/([^/]+)\.fish$' '$1' $$plugin_files_var)
|
||||
complete --erase --command $name
|
||||
end
|
||||
|
||||
set --erase $plugin_files_var
|
||||
end
|
||||
end
|
||||
|
||||
if set --query update_plugins[1] || set --query install_plugins[1]
|
||||
command mkdir -p $fisher_path/{functions,themes,conf.d,completions}
|
||||
end
|
||||
|
||||
for plugin in $update_plugins $install_plugins
|
||||
set --local source $source_plugins[(contains --index -- "$plugin" $fetch_plugins)]
|
||||
set --local files $source/{functions,themes,conf.d,completions}/*
|
||||
|
||||
if set --local index (contains --index -- $plugin $install_plugins)
|
||||
set --local user_files $fisher_path/{functions,themes,conf.d,completions}/*
|
||||
set --local conflict_files
|
||||
|
||||
for file in (string replace -- $source/ $fisher_path/ $files)
|
||||
contains -- $file $user_files && set --append conflict_files $file
|
||||
end
|
||||
|
||||
if set --query conflict_files[1] && set --erase install_plugins[$index]
|
||||
echo -s "fisher: Cannot install \"$plugin\": please remove or move conflicting files first:" \n" "$conflict_files >&2
|
||||
continue
|
||||
end
|
||||
end
|
||||
|
||||
for file in (string replace -- $source/ "" $files)
|
||||
command cp -RLf $source/$file $fisher_path/$file
|
||||
end
|
||||
|
||||
set --local plugin_files_var _fisher_(string escape --style=var -- $plugin)_files
|
||||
|
||||
set --query files[1] && set --universal $plugin_files_var (string replace -- $source $fisher_path $files | string replace -- ~ \~)
|
||||
|
||||
contains -- $plugin $_fisher_plugins || set --universal --append _fisher_plugins $plugin
|
||||
contains -- $plugin $install_plugins && set --local event install || set --local event update
|
||||
|
||||
printf "%s\n" Installing\ (set_color --bold)$plugin(set_color normal) " "$$plugin_files_var | string replace -- \~ ~
|
||||
|
||||
for file in (string match --regex -- '.+/[^/]+\.fish$' $$plugin_files_var | string replace -- \~ ~)
|
||||
source $file
|
||||
if set --local name (string replace --regex -- '.+conf\.d/([^/]+)\.fish$' '$1' $file)
|
||||
emit {$name}_$event
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
command rm -rf $source_plugins
|
||||
|
||||
if set --query _fisher_plugins[1]
|
||||
set --local commit_plugins
|
||||
|
||||
for plugin in $file_plugins
|
||||
contains -- (string lower -- $plugin) (string lower -- $_fisher_plugins) && set --append commit_plugins $plugin
|
||||
end
|
||||
|
||||
for plugin in $_fisher_plugins
|
||||
contains -- (string lower -- $plugin) (string lower -- $commit_plugins) || set --append commit_plugins $plugin
|
||||
end
|
||||
|
||||
string replace --regex -- $HOME \~ $commit_plugins >$fish_plugins
|
||||
else
|
||||
set --erase _fisher_plugins
|
||||
command rm -f $fish_plugins
|
||||
end
|
||||
|
||||
set --local total (count $install_plugins) (count $update_plugins) (count $remove_plugins)
|
||||
|
||||
test "$total" != "0 0 0" && echo (string join ", " (
|
||||
test $total[1] = 0 || echo "Installed $total[1]") (
|
||||
test $total[2] = 0 || echo "Updated $total[2]") (
|
||||
test $total[3] = 0 || echo "Removed $total[3]")
|
||||
) plugin/s
|
||||
case \*
|
||||
echo "fisher: Unknown command: \"$cmd\"" >&2 && return 1
|
||||
end
|
||||
end
|
||||
|
||||
if ! set --query _fisher_upgraded_to_4_4
|
||||
set --universal _fisher_upgraded_to_4_4
|
||||
if functions --query _fisher_list
|
||||
set --query XDG_DATA_HOME[1] || set --local XDG_DATA_HOME ~/.local/share
|
||||
command rm -rf $XDG_DATA_HOME/fisher
|
||||
functions --erase _fisher_{list,plugin_parse}
|
||||
fisher update >/dev/null 2>/dev/null
|
||||
else
|
||||
for var in (set --names | string match --entire --regex '^_fisher_.+_files$')
|
||||
set $var (string replace -- ~ \~ $$var)
|
||||
end
|
||||
functions --erase _fisher_fish_postexec
|
||||
end
|
||||
end
|
||||
4
fish/functions/l.fish
Normal file
4
fish/functions/l.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function l --wraps='eza $EXA_STANDARD_OPTIONS $EXA_L_OPTIONS' --description 'alias l eza $EXA_STANDARD_OPTIONS $EXA_L_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_L_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/la.fish
Normal file
4
fish/functions/la.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function la --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_L_OPTIONS' --description 'alias la eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_L_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_L_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/laa.fish
Normal file
4
fish/functions/laa.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function laa --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_L_OPTIONS' --description 'alias laa eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_L_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_L_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/laad.fish
Normal file
4
fish/functions/laad.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function laad --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_L_OPTIONS' --description 'alias laad eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_L_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_L_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/laai.fish
Normal file
4
fish/functions/laai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function laai --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_L_OPTIONS' --description 'alias laai eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_L_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_L_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/laaid.fish
Normal file
4
fish/functions/laaid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function laaid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_L_OPTIONS' --description 'alias laaid eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_L_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_L_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lad.fish
Normal file
4
fish/functions/lad.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lad --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_L_OPTIONS' --description 'alias lad eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_L_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_L_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lai.fish
Normal file
4
fish/functions/lai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lai --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_L_OPTIONS' --description 'alias lai eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_L_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_L_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/laid.fish
Normal file
4
fish/functions/laid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function laid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_L_OPTIONS' --description 'alias laid eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_L_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_L_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lc.fish
Normal file
4
fish/functions/lc.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lc --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LC_OPTIONS' --description 'alias lc eza $EXA_STANDARD_OPTIONS $EXA_LC_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LC_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lca.fish
Normal file
4
fish/functions/lca.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lca --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LC_OPTIONS' --description 'alias lca eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LC_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LC_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lcaa.fish
Normal file
4
fish/functions/lcaa.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lcaa --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_LC_OPTIONS' --description 'alias lcaa eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_LC_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_LC_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lcaad.fish
Normal file
4
fish/functions/lcaad.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lcaad --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LC_OPTIONS' --description 'alias lcaad eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LC_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LC_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lcaai.fish
Normal file
4
fish/functions/lcaai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lcaai --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LC_OPTIONS' --description 'alias lcaai eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LC_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LC_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lcaaid.fish
Normal file
4
fish/functions/lcaaid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lcaaid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LC_OPTIONS' --description 'alias lcaaid eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LC_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LC_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lcad.fish
Normal file
4
fish/functions/lcad.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lcad --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LC_OPTIONS' --description 'alias lcad eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LC_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LC_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lcai.fish
Normal file
4
fish/functions/lcai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lcai --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_LC_OPTIONS' --description 'alias lcai eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_LC_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_LC_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lcaid.fish
Normal file
4
fish/functions/lcaid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lcaid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_LC_OPTIONS' --description 'alias lcaid eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_LC_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_LC_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lcd.fish
Normal file
4
fish/functions/lcd.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lcd --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_LC_OPTIONS' --description 'alias lcd eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_LC_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_LC_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lci.fish
Normal file
4
fish/functions/lci.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lci --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_LC_OPTIONS' --description 'alias lci eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_LC_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_LC_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lcid.fish
Normal file
4
fish/functions/lcid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lcid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_LC_OPTIONS' --description 'alias lcid eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_LC_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_LC_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/ld.fish
Normal file
4
fish/functions/ld.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function ld --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_L_OPTIONS' --description 'alias ld eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_L_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_L_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/le.fish
Normal file
4
fish/functions/le.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function le --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LE_OPTIONS' --description 'alias le eza $EXA_STANDARD_OPTIONS $EXA_LE_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LE_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lea.fish
Normal file
4
fish/functions/lea.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lea --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LE_OPTIONS' --description 'alias lea eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LE_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LE_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/leaa.fish
Normal file
4
fish/functions/leaa.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function leaa --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_LE_OPTIONS' --description 'alias leaa eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_LE_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_LE_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/leaad.fish
Normal file
4
fish/functions/leaad.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function leaad --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LE_OPTIONS' --description 'alias leaad eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LE_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LE_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/leaai.fish
Normal file
4
fish/functions/leaai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function leaai --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LE_OPTIONS' --description 'alias leaai eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LE_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LE_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/leaaid.fish
Normal file
4
fish/functions/leaaid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function leaaid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LE_OPTIONS' --description 'alias leaaid eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LE_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LE_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lead.fish
Normal file
4
fish/functions/lead.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lead --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LE_OPTIONS' --description 'alias lead eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LE_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LE_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/leai.fish
Normal file
4
fish/functions/leai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function leai --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_LE_OPTIONS' --description 'alias leai eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_LE_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_LE_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/leaid.fish
Normal file
4
fish/functions/leaid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function leaid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_LE_OPTIONS' --description 'alias leaid eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_LE_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_LE_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/led.fish
Normal file
4
fish/functions/led.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function led --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_LE_OPTIONS' --description 'alias led eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_LE_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_LE_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lei.fish
Normal file
4
fish/functions/lei.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lei --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_LE_OPTIONS' --description 'alias lei eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_LE_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_LE_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/leid.fish
Normal file
4
fish/functions/leid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function leid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_LE_OPTIONS' --description 'alias leid eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_LE_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_LE_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lg.fish
Normal file
4
fish/functions/lg.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lg --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LG_OPTIONS' --description 'alias lg eza $EXA_STANDARD_OPTIONS $EXA_LG_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LG_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lga.fish
Normal file
4
fish/functions/lga.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lga --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LG_OPTIONS' --description 'alias lga eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LG_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LG_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lgaa.fish
Normal file
4
fish/functions/lgaa.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lgaa --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_LG_OPTIONS' --description 'alias lgaa eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_LG_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_LG_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lgaad.fish
Normal file
4
fish/functions/lgaad.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lgaad --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LG_OPTIONS' --description 'alias lgaad eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LG_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LG_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lgaai.fish
Normal file
4
fish/functions/lgaai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lgaai --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LG_OPTIONS' --description 'alias lgaai eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LG_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LG_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lgaaid.fish
Normal file
4
fish/functions/lgaaid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lgaaid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LG_OPTIONS' --description 'alias lgaaid eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LG_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LG_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lgad.fish
Normal file
4
fish/functions/lgad.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lgad --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LG_OPTIONS' --description 'alias lgad eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LG_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LG_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lgai.fish
Normal file
4
fish/functions/lgai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lgai --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_LG_OPTIONS' --description 'alias lgai eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_LG_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_LG_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lgaid.fish
Normal file
4
fish/functions/lgaid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lgaid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_LG_OPTIONS' --description 'alias lgaid eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_LG_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_LG_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lgd.fish
Normal file
4
fish/functions/lgd.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lgd --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_LG_OPTIONS' --description 'alias lgd eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_LG_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_LG_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lgi.fish
Normal file
4
fish/functions/lgi.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lgi --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_LG_OPTIONS' --description 'alias lgi eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_LG_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_LG_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lgid.fish
Normal file
4
fish/functions/lgid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lgid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_LG_OPTIONS' --description 'alias lgid eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_LG_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_LG_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/li.fish
Normal file
4
fish/functions/li.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function li --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_L_OPTIONS' --description 'alias li eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_L_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_L_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lid.fish
Normal file
4
fish/functions/lid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_L_OPTIONS' --description 'alias lid eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_L_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_L_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/ll.fish
Normal file
4
fish/functions/ll.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function ll --wraps=exa_git --description 'alias ll exa_git'
|
||||
exa_git $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lla.fish
Normal file
4
fish/functions/lla.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lla --wraps='exa_git $EXA_LA_OPTIONS' --description 'alias lla exa_git $EXA_LA_OPTIONS'
|
||||
exa_git $EXA_LA_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/llaa.fish
Normal file
4
fish/functions/llaa.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function llaa --wraps='exa_git $EXA_LAA_OPTIONS' --description 'alias llaa exa_git $EXA_LAA_OPTIONS'
|
||||
exa_git $EXA_LAA_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/llaad.fish
Normal file
4
fish/functions/llaad.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function llaad --wraps='exa_git $EXA_LAAD_OPTIONS' --description 'alias llaad exa_git $EXA_LAAD_OPTIONS'
|
||||
exa_git $EXA_LAAD_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/llaai.fish
Normal file
4
fish/functions/llaai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function llaai --wraps='exa_git $EXA_LAAI_OPTIONS' --description 'alias llaai exa_git $EXA_LAAI_OPTIONS'
|
||||
exa_git $EXA_LAAI_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/llaaid.fish
Normal file
4
fish/functions/llaaid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function llaaid --wraps='exa_git $EXA_LAAID_OPTIONS' --description 'alias llaaid exa_git $EXA_LAAID_OPTIONS'
|
||||
exa_git $EXA_LAAID_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/llad.fish
Normal file
4
fish/functions/llad.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function llad --wraps='exa_git $EXA_LAD_OPTIONS' --description 'alias llad exa_git $EXA_LAD_OPTIONS'
|
||||
exa_git $EXA_LAD_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/llai.fish
Normal file
4
fish/functions/llai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function llai --wraps='exa_git $EXA_LAI_OPTIONS' --description 'alias llai exa_git $EXA_LAI_OPTIONS'
|
||||
exa_git $EXA_LAI_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/llaid.fish
Normal file
4
fish/functions/llaid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function llaid --wraps='exa_git $EXA_LAID_OPTIONS' --description 'alias llaid exa_git $EXA_LAID_OPTIONS'
|
||||
exa_git $EXA_LAID_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lld.fish
Normal file
4
fish/functions/lld.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lld --wraps='exa_git $EXA_LD_OPTIONS' --description 'alias lld exa_git $EXA_LD_OPTIONS'
|
||||
exa_git $EXA_LD_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lli.fish
Normal file
4
fish/functions/lli.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lli --wraps='exa_git $EXA_LI_OPTIONS' --description 'alias lli exa_git $EXA_LI_OPTIONS'
|
||||
exa_git $EXA_LI_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/llid.fish
Normal file
4
fish/functions/llid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function llid --wraps='exa_git $EXA_LID_OPTIONS' --description 'alias llid exa_git $EXA_LID_OPTIONS'
|
||||
exa_git $EXA_LID_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lo.fish
Normal file
4
fish/functions/lo.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lo --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LO_OPTIONS' --description 'alias lo eza $EXA_STANDARD_OPTIONS $EXA_LO_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LO_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/loa.fish
Normal file
4
fish/functions/loa.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function loa --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LO_OPTIONS' --description 'alias loa eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LO_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LO_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/loaa.fish
Normal file
4
fish/functions/loaa.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function loaa --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_LO_OPTIONS' --description 'alias loaa eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_LO_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAA_OPTIONS $EXA_LO_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/loaad.fish
Normal file
4
fish/functions/loaad.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function loaad --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LO_OPTIONS' --description 'alias loaad eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LO_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LO_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/loaai.fish
Normal file
4
fish/functions/loaai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function loaai --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LO_OPTIONS' --description 'alias loaai eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LO_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LO_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/loaaid.fish
Normal file
4
fish/functions/loaaid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function loaaid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LO_OPTIONS' --description 'alias loaaid eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LO_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LO_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/load.fish
Normal file
4
fish/functions/load.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function load --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LO_OPTIONS' --description 'alias load eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LO_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LO_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/loai.fish
Normal file
4
fish/functions/loai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function loai --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_LO_OPTIONS' --description 'alias loai eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_LO_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAI_OPTIONS $EXA_LO_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/loaid.fish
Normal file
4
fish/functions/loaid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function loaid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_LO_OPTIONS' --description 'alias loaid eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_LO_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAID_OPTIONS $EXA_LO_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lod.fish
Normal file
4
fish/functions/lod.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lod --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_LO_OPTIONS' --description 'alias lod eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_LO_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LD_OPTIONS $EXA_LO_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/loi.fish
Normal file
4
fish/functions/loi.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function loi --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_LO_OPTIONS' --description 'alias loi eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_LO_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LI_OPTIONS $EXA_LO_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/loid.fish
Normal file
4
fish/functions/loid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function loid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_LO_OPTIONS' --description 'alias loid eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_LO_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LID_OPTIONS $EXA_LO_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lt.fish
Normal file
4
fish/functions/lt.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lt --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LT_OPTIONS' --description 'alias lt eza $EXA_STANDARD_OPTIONS $EXA_LT_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LT_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/lta.fish
Normal file
4
fish/functions/lta.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function lta --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LT_OPTIONS' --description 'alias lta eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LT_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LA_OPTIONS $EXA_LT_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/ltaad.fish
Normal file
4
fish/functions/ltaad.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function ltaad --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LT_OPTIONS' --description 'alias ltaad eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LT_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAD_OPTIONS $EXA_LT_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/ltaai.fish
Normal file
4
fish/functions/ltaai.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function ltaai --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LT_OPTIONS' --description 'alias ltaai eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LT_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAI_OPTIONS $EXA_LT_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/ltaaid.fish
Normal file
4
fish/functions/ltaaid.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function ltaaid --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LT_OPTIONS' --description 'alias ltaaid eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LT_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAAID_OPTIONS $EXA_LT_OPTIONS $argv
|
||||
|
||||
end
|
||||
4
fish/functions/ltad.fish
Normal file
4
fish/functions/ltad.fish
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
function ltad --wraps='eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LT_OPTIONS' --description 'alias ltad eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LT_OPTIONS'
|
||||
eza $EXA_STANDARD_OPTIONS $EXA_LAD_OPTIONS $EXA_LT_OPTIONS $argv
|
||||
|
||||
end
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue