Compare commits
2 commits
ddf1168aab
...
53f81b06ee
Author | SHA1 | Date | |
---|---|---|---|
53f81b06ee | |||
844de61728 |
|
@ -25,12 +25,13 @@ export PROJECTS="$HOME/Documents/Projects"
|
|||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
# Folders added to $PATH:
|
||||
export PATH=$PROJECTS/bin:$PATH
|
||||
export PATH=$HOME/home/linux/.local/bin:$PATH
|
||||
export PATH=$HOME/.local/bin:$PATH
|
||||
export PATH="$PROJECTS/bin:$PATH"
|
||||
export PATH="$HOME/home/linux/.local/bin:$PATH"
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$PNPM_HOME:$PATH"
|
||||
export PATH=$GOPATH/bin:$PATH
|
||||
export PATH="$GOPATH/bin:$PATH"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
export PATH="$HOME/.nimble/bin:$PATH"
|
||||
|
||||
#export PATH=$HOME/home/linux/.cargo/bin:$PATH
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ ZSH_THEME="agnoster"
|
|||
plugins=(
|
||||
# git
|
||||
# zsh-autosuggestions
|
||||
archlinux
|
||||
# archlinux
|
||||
emoji
|
||||
zsh-syntax-highlighting
|
||||
)
|
||||
|
@ -59,5 +59,8 @@ eval "$(zoxide init zsh --cmd cd)"
|
|||
|
||||
# pnpm
|
||||
export PNPM_HOME="/home/linux/.local/share/pnpm"
|
||||
export PATH="$PNPM_HOME:$PATH"
|
||||
# pnpm end
|
||||
case ":$PATH:" in
|
||||
*":$PNPM_HOME:"*) ;;
|
||||
*) export PATH="$PNPM_HOME:$PATH" ;;
|
||||
esac
|
||||
# pnpm end
|
||||
|
|
|
@ -44,7 +44,5 @@ extract() {
|
|||
fi
|
||||
}
|
||||
|
||||
share() {
|
||||
curl --progress-bar --upload-file "$1" https://share.arrayinamatrix.xyz/ | tee /dev/null; echo
|
||||
}
|
||||
share(){ if [ $# -eq 0 ];then echo "No arguments specified.\nUsage:\n transfer <file|directory>\n ... | transfer <file_name>">&2;return 1;fi;if tty -s;then file="$1";file_name=$(basename "$file");if [ ! -e "$file" ];then echo "$file: No such file or directory">&2;return 1;fi;if [ -d "$file" ];then file_name="$file_name.zip" ,;(cd "$file"&&zip -r -q - .)|curl --progress-bar --upload-file "-" "https://share.arrayinamatrix.xyz/$file_name"|tee /dev/null,;else cat "$file"|curl --progress-bar --upload-file "-" "https://share.arrayinamatrix.xyz/$file_name"|tee /dev/null;fi;else file_name=$1;curl --progress-bar --upload-file "-" "https://share.arrayinamatrix.xyz/$file_name"|tee /dev/null;fi;}
|
||||
|
||||
|
|
Loading…
Reference in a new issue