does anyone know how to sleep

This commit is contained in:
Reinaldy Rafli 2021-08-05 01:33:19 +07:00
parent db97c331db
commit a01ae1cdb5
5 changed files with 34 additions and 5 deletions

View File

@ -117,7 +117,7 @@ if ! shopt -oq posix; then
fi
# 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`"
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
sudo /etc/init.d/dbus start &> /dev/null
. "$HOME/.cargo/env"
export EDITOR="micro"
alias idea="eureka"

View File

@ -27,7 +27,7 @@ if [ -d "$HOME/.local/bin" ] ; then
fi
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
export GPG_TTY=$(tty)
. "$HOME/.cargo/env"

View File

@ -1,3 +0,0 @@
#!bin/bash
npm install -g yarn tldr pnpm npm-check-updates np commitizen add-gitignore

12
bin/node-update Executable file
View File

@ -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

17
scripts/rust.sh Executable file
View File

@ -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