Add deno
parent
91ffff8e61
commit
171765aea3
|
@ -8,6 +8,7 @@ base=true
|
||||||
nicetohave=true
|
nicetohave=true
|
||||||
go=false
|
go=false
|
||||||
rust=false
|
rust=false
|
||||||
|
deno=false
|
||||||
rootzsh=false
|
rootzsh=false
|
||||||
desktopbase=false
|
desktopbase=false
|
||||||
desktop=false
|
desktop=false
|
||||||
|
@ -23,6 +24,8 @@ while [ $# != 0 ]; do
|
||||||
go) go=true;;
|
go) go=true;;
|
||||||
norust) rust=false;;
|
norust) rust=false;;
|
||||||
rust) rust=true;;
|
rust) rust=true;;
|
||||||
|
nodeno) deno=false;;
|
||||||
|
deno) deno=true;;
|
||||||
norootzsh) rootzsh=false;;
|
norootzsh) rootzsh=false;;
|
||||||
rootzsh) rootzsh=true;;
|
rootzsh) rootzsh=true;;
|
||||||
nodesktopbase) desktopbase=false;;
|
nodesktopbase) desktopbase=false;;
|
||||||
|
@ -166,6 +169,9 @@ download_go() {
|
||||||
download_rust() {
|
download_rust() {
|
||||||
wget --output-document - https://sh.rustup.rs | sh -s -- -y
|
wget --output-document - https://sh.rustup.rs | sh -s -- -y
|
||||||
}
|
}
|
||||||
|
download_deno() {
|
||||||
|
wget --output-document - https://deno.land/x/install/install.sh | sh -s
|
||||||
|
}
|
||||||
download_font_path="$HOME/.local/share/fonts"
|
download_font_path="$HOME/.local/share/fonts"
|
||||||
mkdir -p $download_font_path
|
mkdir -p $download_font_path
|
||||||
download_font_firacode() {
|
download_font_firacode() {
|
||||||
|
|
4
.zshrc
4
.zshrc
|
@ -61,7 +61,7 @@ precmd_functions+=( on_second_prompt )
|
||||||
# executables
|
# executables
|
||||||
|
|
||||||
export PATH="$HOME/.local/bin:$HOME/.pwn/bin:$PATH"
|
export PATH="$HOME/.local/bin:$HOME/.pwn/bin:$PATH"
|
||||||
if [[ -f "$HOME/.deno" ]]; then
|
if [[ -d "$HOME/.deno" ]]; then
|
||||||
export DENO_INSTALL="$HOME/.deno"
|
export DENO_INSTALL="$HOME/.deno"
|
||||||
export PATH="$DENO_INSTALL/bin:$PATH"
|
export PATH="$DENO_INSTALL/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
@ -71,7 +71,7 @@ fi
|
||||||
if [[ -f "$(which go 2>/dev/null)" ]]; then
|
if [[ -f "$(which go 2>/dev/null)" ]]; then
|
||||||
export PATH="$(go env GOPATH)/bin:$PATH"
|
export PATH="$(go env GOPATH)/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
if [[ -f "$HOME/.cargo" ]]; then
|
if [[ -d "$HOME/.cargo" ]]; then
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue