feat(fish): remove a lot of functions i dont use
This commit is contained in:
parent
8dd7e0da0c
commit
259ad2106c
36 changed files with 8 additions and 168 deletions
|
@ -13,8 +13,8 @@ SETUVAR --export XDG_CACHE_HOME:/home/matt/\x2ecache
|
||||||
SETUVAR --export XDG_CONFIG_HOME:/home/matt/\x2econfig
|
SETUVAR --export XDG_CONFIG_HOME:/home/matt/\x2econfig
|
||||||
SETUVAR --export XDG_DATA_HOME:/home/matt/\x2elocal/share
|
SETUVAR --export XDG_DATA_HOME:/home/matt/\x2elocal/share
|
||||||
SETUVAR --export XDG_SCRIPT_HOME:/home/matt/\x2elocal/script
|
SETUVAR --export XDG_SCRIPT_HOME:/home/matt/\x2elocal/script
|
||||||
SETUVAR --export __ABBR_TIPS_KEYS:g\x1ed\x1ea__bruh\x1ea__c\x1ea__cat\x1ea__catp\x1ea__cl\x1ea__clock\x1ea__codeinfo\x1ea__cv\x1ea__disks\x1ea__dots\x1ea__dsize\x1ea__ex\x1ea__f\x1ea__fetch\x1ea__gfetch\x1ea__gpt\x1ea__gr\x1ea__i\x1ea__info\x1ea__ip\x1ea__l\x1ea__ld\x1ea__ldh\x1ea__lg\x1ea__lh\x1ea__lm\x1ea__ls\x1ea__lsh\x1ea__lt\x1ea__lth\x1ea__lzd\x1ea__matrix\x1ea__mkdir\x1ea__op\x1ea__pages\x1ea__proc\x1ea__pse\x1ea__q\x1ea__r\x1ea__s\x1ea__sc\x1ea__svn\x1ea__t\x1ea__ta\x1ea__test\x2dnet\x1ea__tr\x1ea__u\x1ea__up\x1ea__upall\x1ea__v\x1ea__vcl\x1ea__vv\x1ea__vvl\x1ea__vvn\x1ea__wget\x1ea__yarn\x1ea__z\x1ea__zi
|
SETUVAR --export __ABBR_TIPS_KEYS:g\x1ed\x1ea__bruh\x1ea__c\x1ea__cat\x1ea__catp\x1ea__cl\x1ea__clock\x1ea__codeinfo\x1ea__cv\x1ea__disks\x1ea__dots\x1ea__dsize\x1ea__ex\x1ea__f\x1ea__fetch\x1ea__gfetch\x1ea__gpt\x1ea__gr\x1ea__i\x1ea__info\x1ea__l\x1ea__ld\x1ea__ldh\x1ea__lg\x1ea__lh\x1ea__lm\x1ea__ls\x1ea__lsh\x1ea__lt\x1ea__lth\x1ea__lzd\x1ea__matrix\x1ea__mkdir\x1ea__op\x1ea__pages\x1ea__proc\x1ea__pse\x1ea__r\x1ea__s\x1ea__sc\x1ea__svn\x1ea__t\x1ea__ta\x1ea__test\x2dnet\x1ea__u\x1ea__up\x1ea__upall\x1ea__v\x1ea__vcl\x1ea__vv\x1ea__vvl\x1ea__vvn\x1ea__wget\x1ea__yarn\x1ea__z\x1ea__zi\x1ea__notes\x1ea__mail
|
||||||
SETUVAR --export __ABBR_TIPS_VALUES:git\x1edocker\x1egenact\x20\x2ds\x204\x1ez\x1ebat\x1ebat\x20\x2d\x2dpaging\x3dalways\x1eclear\x1etty\x2dclock\x20\x2dsbc\x1escc\x20\x2e/\x1ez\x20\x26\x26\x20v\x1eduf\x1eyadm\x20enter\x20lazygit\x1edua\x20i\x1esudo\x20chmod\x20\x2bx\x1efzf\x1efastfetch\x1eonefetch\x1etgpt\x20\x2di\x1ecd\x20\x22\x24\x28git\x20rev\x2dparse\x20\x2d\x2dshow\x2dtoplevel\x29\x22\x1eyay\x20\x2dS\x20\x1etldr\x1eip\x20\x2dc\x20a\x1eeza\x20\x2d\x2dlong\x20\x2d\x2dheader\x20\x2da\x20\x2d\x2dicons\x20\x2d\x2dgit\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1elazydocker\x1eeza\x20\x2d\x2dlong\x20\x2d\x2dheader\x20\x2d\x2dicons\x20\x2dD\x20\x2d\x2dgit\x1elazygit\x1eeza\x20\x2d\x2dlong\x20\x2d\x2dheader\x20\x2d\x2dicons\x20\x2d\x2dgit\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1el\x3deza\x20\x2d\x2dlong\x20\x2d\x2dheader\x20\x2da\x20\x2d\x2dicons\x20\x2d\x2dgit\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1eeza\x20\x2da\x20\x2d\x2dicons\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1eeza\x20\x2d\x2dicons\x20\x2d\x2dgit\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1eeza\x20\x2d\x2dlong\x20\x2d\x2dheader\x20\x2da\x20\x2d\x2dicons\x20\x2d\x2dtree\x20\x2d\x2dgit\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1eeza\x20\x2d\x2dlong\x20\x2d\x2dheader\x20\x2d\x2dicons\x20\x2d\x2dtree\x20\x2d\x2dgit\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1elazydocker\x1eunimatrix\x20\x2ds\x2095\x1emkdir\x20\x2dp\x1ecd\x20\x7e/Documents/Obsidian/obsidianVault\x1enavi\x1esysz\x1epacseek\x1eexit\x1emise\x20run\x1esudo\x1er\x3dsource\x20\x24XDG_CONFIG_HOME/fish/config\x2efish\x1esvn\x20\x2d\x2dconfig\x2ddir\x20\x5c\x5c\x5c\x5c\x22\x24XDG_CONFIG_HOME\x5c\x5c\x5c\x5c\x22/subversion\x1etmux\x1etmux\x20attach\x20\x2dt\x1ecommand\x20up\x1etrash\x1eyay\x20\x2dR\x20\x1eyay\x20\x2dSyu\x1etopgrade\x1envim\x1envim\x20\x2d\x2dclean\x1ebob\x1ebob\x20use\x20latest\x1ebob\x20use\x20nightly\x1ewget\x20\x2d\x2dhsts\x2dfile\x3d\x22\x24XDG_DATA_HOME/wget\x2dhsts\x22\x1eyarn\x20\x2d\x2duse\x2dyarnrc\x20\x22\x24XDG_CONFIG_HOME/yarn/config\x22\x1e__zoxide_z\x1e__zoxide_zi
|
SETUVAR --export __ABBR_TIPS_VALUES:git\x1edocker\x1egenact\x20\x2ds\x204\x1ez\x1ebat\x1ebat\x20\x2d\x2dpaging\x3dalways\x1eclear\x1etty\x2dclock\x20\x2dsbc\x1escc\x20\x2e/\x1ez\x20\x26\x26\x20v\x1eduf\x1eyadm\x20enter\x20lazygit\x1edua\x20i\x1esudo\x20chmod\x20\x2bx\x1efzf\x1efastfetch\x1eonefetch\x1etgpt\x20\x2di\x1ecd\x20\x22\x24\x28git\x20rev\x2dparse\x20\x2d\x2dshow\x2dtoplevel\x29\x22\x1eyay\x20\x2dS\x20\x1etldr\x1eeza\x20\x2d\x2dlong\x20\x2d\x2dheader\x20\x2da\x20\x2d\x2dicons\x20\x2d\x2dgit\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1elazydocker\x1eeza\x20\x2d\x2dlong\x20\x2d\x2dheader\x20\x2d\x2dicons\x20\x2dD\x20\x2d\x2dgit\x1elazygit\x1eeza\x20\x2d\x2dlong\x20\x2d\x2dheader\x20\x2d\x2dicons\x20\x2d\x2dgit\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1el\x3deza\x20\x2d\x2dlong\x20\x2d\x2dheader\x20\x2da\x20\x2d\x2dicons\x20\x2d\x2dgit\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1eeza\x20\x2da\x20\x2d\x2dicons\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1eeza\x20\x2d\x2dicons\x20\x2d\x2dgit\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1eeza\x20\x2d\x2dlong\x20\x2d\x2dheader\x20\x2da\x20\x2d\x2dicons\x20\x2d\x2dtree\x20\x2d\x2dgit\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1eeza\x20\x2d\x2dlong\x20\x2d\x2dheader\x20\x2d\x2dicons\x20\x2d\x2dtree\x20\x2d\x2dgit\x20\x2d\x2dgroup\x2ddirectories\x2dfirst\x1elazydocker\x1eunimatrix\x20\x2ds\x2095\x1emkdir\x20\x2dp\x1ecd\x20\x7e/Documents/Obsidian/obsidianVault\x1enavi\x1esysz\x1epacseek\x1emise\x20run\x1esudo\x1er\x3dsource\x20\x24XDG_CONFIG_HOME/fish/config\x2efish\x1esvn\x20\x2d\x2dconfig\x2ddir\x20\x5c\x5c\x5c\x5c\x22\x24XDG_CONFIG_HOME\x5c\x5c\x5c\x5c\x22/subversion\x1etmux\x1etmux\x20attach\x20\x2dt\x1ecommand\x20up\x1eyay\x20\x2dR\x20\x1eyay\x20\x2dSyu\x1etopgrade\x1envim\x1envim\x20\x2d\x2dclean\x1ebob\x1ebob\x20use\x20latest\x1ebob\x20use\x20nightly\x1ewget\x20\x2d\x2dhsts\x2dfile\x3d\x22\x24XDG_DATA_HOME/wget\x2dhsts\x22\x1eyarn\x20\x2d\x2duse\x2dyarnrc\x20\x22\x24XDG_CONFIG_HOME/yarn/config\x22\x1e__zoxide_z\x1e__zoxide_zi\x1etmuxp\x1etmuxp
|
||||||
SETUVAR __fish_initialized:3800
|
SETUVAR __fish_initialized:3800
|
||||||
SETUVAR _fish_abbr_d:docker
|
SETUVAR _fish_abbr_d:docker
|
||||||
SETUVAR _fish_abbr_g:git
|
SETUVAR _fish_abbr_g:git
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
function bruh --wraps='genact -s 4' --description 'alias bruh=genact -s 4'
|
|
||||||
genact -s 4 $argv
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function clock --wraps='tty-clock -sbc' --description 'alias clock=tty-clock -sbc'
|
|
||||||
tty-clock -sbc $argv
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function codeinfo --wraps='scc ./' --description 'alias codeinfo=scc ./'
|
|
||||||
if type -f scc &>/dev/null
|
|
||||||
scc ./ $argv
|
|
||||||
else
|
|
||||||
missing_package scc
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function cv --wraps=clear --wraps='z && v' --description 'alias cv=z && v'
|
|
||||||
z $argv && v
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function disks --wraps=duf --description 'alias disks=duf'
|
|
||||||
if type -f duf &>/dev/null
|
|
||||||
duf $argv
|
|
||||||
else
|
|
||||||
missing_package duf
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function dsize --wraps='dua i' --description 'alias dsize=dua i'
|
|
||||||
if type -f dua &>/dev/null
|
|
||||||
dua i $argv
|
|
||||||
else
|
|
||||||
missing_package dua-cli
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function ex --wraps='sudo chmod +x' --description 'alias ex=sudo chmod +x'
|
|
||||||
sudo chmod +x $argv
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function f --wraps=fzf --description 'alias f=fzf'
|
|
||||||
if type -f fzf &>/dev/null
|
|
||||||
fzf $argv
|
|
||||||
else
|
|
||||||
missing_package fzf
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function fetch --wraps=fastfetch --description 'alias fetch=fastfetch'
|
|
||||||
if type -f fastfetch &>/dev/null
|
|
||||||
fastfetch $argv
|
|
||||||
else
|
|
||||||
missing_package fastfetch
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function gfetch --wraps=onefetch --description 'alias gfetch=onefetch'
|
|
||||||
if type -f onefetch &>/dev/null
|
|
||||||
onefetch $argv
|
|
||||||
else
|
|
||||||
missing_package onefetch
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function gpt --wraps='tgpt -i' --description 'alias gpt=tgpt -i'
|
|
||||||
if type -f tgpt &>/dev/null
|
|
||||||
tgpt $argv
|
|
||||||
else
|
|
||||||
missing_package tgpt
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function gr --wraps='cd "$(git rev-parse --show-toplevel)"' --description 'alias gr=cd "$(git rev-parse --show-toplevel)"'
|
|
||||||
cd "$(git rev-parse --show-toplevel)" $argv
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function info --wraps=tldr --description 'alias info=tldr'
|
|
||||||
if type -f tldr &>/dev/null
|
|
||||||
tldr $argv
|
|
||||||
else
|
|
||||||
missing_package tldr
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function ip --description 'alias ip=ip -c a'
|
|
||||||
command ip -c a $argv
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function ld --wraps=lazydocker --description 'alias ld=lazydocker'
|
|
||||||
if type -f lazydocker &>/dev/null
|
|
||||||
lazydocker $argv
|
|
||||||
else
|
|
||||||
missing_package lazydocker
|
|
||||||
end
|
|
||||||
end
|
|
3
.config/fish/functions/mail.fish
Normal file
3
.config/fish/functions/mail.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function mail --description 'alias mail=tmuxp load -y mail'
|
||||||
|
tmuxp load -y mail $argv
|
||||||
|
end
|
|
@ -1,3 +0,0 @@
|
||||||
function matrix --wraps='unimatrix -s 95' --description 'alias matrix=unimatrix -s 95'
|
|
||||||
unimatrix -s 95 $argv
|
|
||||||
end
|
|
|
@ -1,4 +0,0 @@
|
||||||
function mkdir-cd --argument dir
|
|
||||||
mkdir -p -- $dir
|
|
||||||
and cd -- $dir
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function mkdir --description 'alias mkdir=mkdir -p'
|
|
||||||
command mkdir -p $argv
|
|
||||||
end
|
|
3
.config/fish/functions/notes.fish
Normal file
3
.config/fish/functions/notes.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function notes --wraps='tmuxp load -y notes-tasks' --description 'alias notes=tmuxp load -y notes-tasks'
|
||||||
|
tmuxp load -y notes-tasks $argv
|
||||||
|
end
|
|
@ -1,3 +0,0 @@
|
||||||
function op --wraps='cd ~/Documents/Obsidian/obsidianVault' --description 'alias op=cd ~/Documents/Obsidian/obsidianVault'
|
|
||||||
tmuxp load -y notes-tasks
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function pages --wraps=navi --description 'alias pages=navi'
|
|
||||||
if type -f navi &>/dev/null
|
|
||||||
navi $argv
|
|
||||||
else
|
|
||||||
missing_package navi
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function proc --wraps=sysz --description 'alias proc=sysz'
|
|
||||||
if type -f sysz &>/dev/null
|
|
||||||
sysz $argv
|
|
||||||
else
|
|
||||||
missing_package sysz
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,8 +0,0 @@
|
||||||
function pse --wraps=pacseek --description 'alias pse=pacseek'
|
|
||||||
if type -f pacseek &>/dev/null
|
|
||||||
pacseek $argv
|
|
||||||
else
|
|
||||||
missing_package pacseek
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function q --wraps=exit --description 'alias q=exit'
|
|
||||||
exit $argv
|
|
||||||
end
|
|
|
@ -1,8 +0,0 @@
|
||||||
function r --wraps='mise run' --description 'alias r=mise run'
|
|
||||||
if type -f mise &>/dev/null
|
|
||||||
mise run $argv
|
|
||||||
else
|
|
||||||
missing_package mise
|
|
||||||
end
|
|
||||||
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function s --wraps=sudo --description 'alias s=sudo'
|
|
||||||
sudo $argv
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function sc --wraps='source $XDG_CONFIG_HOME/fish/config.fish' --description 'alias r=source $XDG_CONFIG_HOME/fish/config.fish'
|
|
||||||
source $XDG_CONFIG_HOME/fish/config.fish $argv
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function t --wraps=tmux --description 'alias t=tmux'
|
|
||||||
if type -f tmux &>/dev/null
|
|
||||||
tmux new-session $argv
|
|
||||||
else
|
|
||||||
missing_package tmux
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function ta --wraps='tmux attach -t' --description 'alias ta=tmux attach -t'
|
|
||||||
if type -f tmux &>/dev/null
|
|
||||||
tmux attach
|
|
||||||
else
|
|
||||||
missing_package tmux
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function test-net --wraps='command up' --description 'alias test-net=command up'
|
|
||||||
command up $argv
|
|
||||||
end
|
|
|
@ -1,7 +0,0 @@
|
||||||
function vcl --wraps='nvim --clean' --description 'alias vcl=nvim --clean'
|
|
||||||
if type -f nvim &>/dev/null
|
|
||||||
nvim --clean $argv
|
|
||||||
else
|
|
||||||
missing_package nvim
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function vv --wraps=bob --description 'alias vv=bob'
|
|
||||||
bob $argv
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function vvl --wraps='bob use latest' --description 'alias vvl=bob use latest'
|
|
||||||
bob use latest $argv
|
|
||||||
end
|
|
|
@ -1,3 +0,0 @@
|
||||||
function vvn --wraps='bob use nightly' --description 'alias vvn=bob use nightly'
|
|
||||||
bob use nightly $argv
|
|
||||||
end
|
|
Loading…
Add table
Reference in a new issue