feat: add void
This commit is contained in:
parent
6762a87b83
commit
c8610fb3fd
9 changed files with 46 additions and 16 deletions
10
crates/10-zsh/crate.void.sh
Normal file
10
crates/10-zsh/crate.void.sh
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
super_apply() {
|
||||
xbps-install -y zsh
|
||||
}
|
||||
|
||||
super_undo() {
|
||||
xbps-remove -y zsh
|
||||
}
|
||||
|
|
@ -23,11 +23,14 @@ update_dotfiles() {
|
|||
}
|
||||
alias udf="update_dotfiles"
|
||||
|
||||
0file() { curl -F"file=@$1" {0} ; }
|
||||
0pb() { curl -F"file=@-;" https://envs.sh ; }
|
||||
0url() { curl -F"url=$1" https://envs.sh ; }
|
||||
0short() { curl -F"shorten=$1" https://envs.sh ; }
|
||||
|
||||
function share_cdn() {
|
||||
if ! [ -f "$1" ]; then
|
||||
echo "file needs to exist"
|
||||
return 1
|
||||
fi
|
||||
scp $1 keymaker:/usr/share/cdn/random/$2 > /dev/null
|
||||
echo "https://cdn.ixvd.net/random/${2:-$(basename $1)}"
|
||||
}
|
||||
|
||||
export PATH="${PATH}:/home/${USER}/.local/bin"
|
||||
|
||||
|
@ -37,4 +40,4 @@ case ":$PATH:" in
|
|||
*":$PNPM_HOME:"*) ;;
|
||||
*) export PATH="$PNPM_HOME:$PATH" ;;
|
||||
esac
|
||||
# pnpm end
|
||||
# pnpm end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue