Big steps: getting rid of rvm and nvm

This commit is contained in:
Nemo 2017-12-24 00:33:00 +05:30
parent 7501ccfa40
commit 146b31d92c
5 changed files with 14 additions and 24 deletions

View File

@ -1 +0,0 @@
/usr/lib/systemd/user/psd.service

View File

@ -21,8 +21,6 @@ pathadd '/opt/vagrant/bin'
pathadd "$HOME/.phpenv/bin"
PATH="$PATH:$HOME/apps/ec2/bin"
source $HOME/.nvm/nvm.sh #node version manager
# Python virtualenv
export WORKON_HOME=~/.virtualenvs
source /usr/bin/virtualenvwrapper.sh
@ -87,7 +85,8 @@ export LC_ALL=en_IN.utf8
export LANG=en_IN.utf8
#export LC_ALL="C" ##For the weird characters in man pages
alias rake='spring rake'
alias gh='hub'
alias rake='bundle exec rake'
alias rails='spring rails'
alias rt='ruby -I"lib:test"' # rake test shortcut to run test for one script
@ -342,12 +341,8 @@ export THEOS_DEVICE_PORT=22
#PERL_MM_OPT="INSTALL_BASE=/home/nemo/perl5"; export PERL_MM_OPT;
#eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
# Ruby version manager, must be loaded before
# scm_breeze
source "$HOME/.rvm/scripts/rvm"
# karn https://github.com/prydonius/karn
if which karn > /dev/null; then eval "$(karn init)"; fi
# if which karn > /dev/null; then eval "$(karn init)"; fi
# Disable beeps
xset -b
@ -483,7 +478,4 @@ elif type compctl &>/dev/null; then
}
compctl -K _npm_completion npm
fi
###-end-npm-completion-###
rvm use 2.4.1 >/dev/null
###-end-npm-completion-###

View File

@ -8,12 +8,4 @@
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/nemo/bin:/sbin:/home/nemo/projects/scripts/:/home/nemo/.phpenv/bin:/home/nemo/.nvm/versions/node/v8.7.0/bin
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/nemo/bin:/sbin:/home/nemo/projects/scripts/:/home/nemo/.phpenv/bin:/home/nemo/.nvm/versions/node/v8.9.1/bin"

View File

@ -62,4 +62,11 @@
#svn checkout https://svn.code.sf.net/p/elibsrv/code/ elibsrv-code
# url = http://localhost:81/svn/project/branches
branches =
tags =
tags =
[url "ssh://git@github.com/"]
insteadOf = https://github.com/
[url "ssh://git@gitlab.com/"]
insteadOf = https://gitlab.com/
[url "ssh://git@bitbucket.org/"]
insteadOf = https://bitbucket.org/

View File

@ -72,7 +72,7 @@ bindsym XF86KbdBrightnessDown exec /home/nemo/projects/scripts/backlight down
exec --no-startup-id "xss-lock /home/nemo/projects/scripts/i3lock.sh -l dim > /home/nemo/projects/scripts/xss-lock.log"
# Autolock screen after 2 minutes
exec --no-startup-id "xautolock -corners -000 -detectsleep -time 2 -locker '/home/nemo/projects/scripts/i3lock.sh -l dim' > /home/nemo/logs/i3-xautolock.log"
exec --no-startup-id "xautolock -corners -000 -detectsleep -time 2 -locker '/home/nemo/projects/scripts/i3lock.sh -l dim'"
# dunst for notifications
exec --no-startup-id "dunst"