mirror of
https://github.com/cupcakearmy/dotfiles.git
synced 2024-12-22 16:26:32 +00:00
functions
This commit is contained in:
parent
70f150695a
commit
4a005f8143
15
files/fish/.gitignore
vendored
15
files/fish/.gitignore
vendored
@ -1,5 +1,18 @@
|
||||
completions
|
||||
conf.d
|
||||
functions
|
||||
themes
|
||||
fish_variables
|
||||
|
||||
|
||||
functions/*
|
||||
!functions/brewer.fish
|
||||
!functions/dc.fish
|
||||
!functions/dsp.fish
|
||||
!functions/e.fish
|
||||
!functions/k.fish
|
||||
!functions/l.fish
|
||||
!functions/n.fish
|
||||
!functions/p.fish
|
||||
!functions/pe.fish
|
||||
!functions/px.fish
|
||||
!functions/rsync.fish
|
||||
|
3
files/fish/functions/brewer.fish
Normal file
3
files/fish/functions/brewer.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function brewer --wraps='brew update && brew upgrade && brew cleanup' --description 'alias brewer brew update && brew upgrade && brew cleanup'
|
||||
brew update && brew upgrade && brew cleanup $argv;
|
||||
end
|
4
files/fish/functions/dc.fish
Normal file
4
files/fish/functions/dc.fish
Normal file
@ -0,0 +1,4 @@
|
||||
# Defined in - @ line 1
|
||||
function dc --wraps=docker-compose --description 'alias dc=docker-compose'
|
||||
docker compose $argv;
|
||||
end
|
3
files/fish/functions/dsp.fish
Normal file
3
files/fish/functions/dsp.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function dsp --wraps='docker system prune -a --volumes' --description 'alias dsp docker system prune -a --volumes'
|
||||
docker system prune -a --volumes $argv;
|
||||
end
|
3
files/fish/functions/e.fish
Normal file
3
files/fish/functions/e.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function e --wraps=nvim --description 'alias e nvim'
|
||||
nvim $argv;
|
||||
end
|
3
files/fish/functions/k.fish
Normal file
3
files/fish/functions/k.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function k --wraps=kubectl --description 'alias k kubectl'
|
||||
kubectl $argv;
|
||||
end
|
4
files/fish/functions/l.fish
Normal file
4
files/fish/functions/l.fish
Normal file
@ -0,0 +1,4 @@
|
||||
# Defined in - @ line 1
|
||||
function l --wraps=la --description 'alias l la'
|
||||
la $argv;
|
||||
end
|
4
files/fish/functions/n.fish
Normal file
4
files/fish/functions/n.fish
Normal file
@ -0,0 +1,4 @@
|
||||
function n
|
||||
nvm install $argv;
|
||||
nvm use $argv;
|
||||
end
|
4
files/fish/functions/p.fish
Normal file
4
files/fish/functions/p.fish
Normal file
@ -0,0 +1,4 @@
|
||||
# Defined via `source`
|
||||
function p --wraps=pnpm --description 'alias p pnpm'
|
||||
pnpm $argv;
|
||||
end
|
3
files/fish/functions/pe.fish
Normal file
3
files/fish/functions/pe.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function pe --wraps='pnpm exec' --description 'alias pe pnpm exec'
|
||||
pnpm exec $argv;
|
||||
end
|
3
files/fish/functions/px.fish
Normal file
3
files/fish/functions/px.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function px --wraps=pnpx --description 'alias px pnpx'
|
||||
pnpm -s dlx $argv;
|
||||
end
|
3
files/fish/functions/rsync.fish
Normal file
3
files/fish/functions/rsync.fish
Normal file
@ -0,0 +1,3 @@
|
||||
function rsync --description 'alias rsync rsync -az --info=progress2'
|
||||
command rsync -az --info=progress2 $argv;
|
||||
end
|
Loading…
Reference in New Issue
Block a user