mirror of https://github.com/aldy505/dotfiles.git
does anyone know how to sleep
This commit is contained in:
parent
db97c331db
commit
a01ae1cdb5
|
@ -117,7 +117,7 @@ if ! shopt -oq posix; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# fnm
|
# fnm
|
||||||
export PATH=$ME/.fnm:/opt/python/3.9.5/bin:$ME/.fly/bin:$PATH
|
export PATH=$ME/.fnm:/opt/python/3.9.5/bin:$ME/.fly/bin:$ME/go/bin:$ME/dotfiles/bin:$PATH
|
||||||
eval "`fnm env`"
|
eval "`fnm env`"
|
||||||
|
|
||||||
export LIBGL_ALWAYS_INDIRECT=1
|
export LIBGL_ALWAYS_INDIRECT=1
|
||||||
|
@ -126,3 +126,6 @@ export LIBGL_ALWAYS_INDIRECT=1
|
||||||
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
|
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
|
||||||
sudo /etc/init.d/dbus start &> /dev/null
|
sudo /etc/init.d/dbus start &> /dev/null
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
|
|
||||||
|
export EDITOR="micro"
|
||||||
|
alias idea="eureka"
|
||||||
|
|
|
@ -27,7 +27,7 @@ if [ -d "$HOME/.local/bin" ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin:/opt/julia/bin:/usr/local/bin/heroku
|
export PATH=/usr/local/go/bin:$GOPATH/bin:/opt/julia/bin:/usr/local/bin/heroku:$PATH
|
||||||
# :/usr/local/pypy3.7-v7.3.5-linux64/bin
|
# :/usr/local/pypy3.7-v7.3.5-linux64/bin
|
||||||
export GPG_TTY=$(tty)
|
export GPG_TTY=$(tty)
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!bin/bash
|
|
||||||
|
|
||||||
npm install -g yarn tldr pnpm npm-check-updates np commitizen add-gitignore
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
fnm uninstall 14
|
||||||
|
fnm uninstall 16
|
||||||
|
|
||||||
|
fnm install 14
|
||||||
|
fnm use 14
|
||||||
|
npm install -g yarn tldr pnpm npm-check-updates np commitizen add-gitignore
|
||||||
|
|
||||||
|
fnm install 16
|
||||||
|
fnm use 16
|
||||||
|
npm install -g yarn tldr pnpm npm-check-updates np commitizen add-gitignore
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
function install () {
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
|
}
|
||||||
|
|
||||||
|
function uninstall () {
|
||||||
|
rustup self uninstall
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ "$1" == "install" ]; then
|
||||||
|
install
|
||||||
|
elif [ "$1" == "uninstall" ]; then
|
||||||
|
uninstall
|
||||||
|
else
|
||||||
|
echo "Only install and uninstall"
|
||||||
|
fi
|
Loading…
Reference in New Issue