Browse Source

remove nvm, oh-my-zsh

master
Inhji Y. 1 year ago
parent
commit
71356f1dc6
4 changed files with 14 additions and 26 deletions
  1. +6
    -6
      .gitmodules
  2. +8
    -18
      config/zshrc
  3. +0
    -1
      nvm
  4. +0
    -1
      oh-my-zsh

+ 6
- 6
.gitmodules View File

@@ -1,9 +1,9 @@
[submodule "dotbot"]
path = dotbot
url = https://github.com/anishathalye/dotbot
[submodule "oh-my-zsh"]
path = oh-my-zsh
url = https://github.com/robbyrussell/oh-my-zsh
[submodule "nvm"]
path = nvm
url = https://github.com/nvm-sh/nvm.git
[submodule "pure"]
path = pure
url = https://github.com/sindresorhus/pure.git
[submodule "z"]
path = z
url = https://github.com/rupa/z.git

+ 8
- 18
config/zshrc View File

@@ -1,21 +1,6 @@
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.dotfiles/oh-my-zsh
export DOTFILES=$HOME/.dotfiles
export PATH=$HOME/.local/bin:$PATH
export NVM_DIR=$HOME/.dotfiles/nvm

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="bureau"

# Which plugins would you like to load?
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(z nvm)
export PATH=$HOME/.local/bin:$HOME/.mix/escripts:/usr/local/go/bin:$PATH

if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
@@ -27,9 +12,12 @@ if [[ -d $HOME/.cargo ]]; then
source $HOME/.cargo/env
fi

[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use # This loads nvm
autoload -U promptinit; promptinit

source $ZSH/oh-my-zsh.sh
# optionally define some options
PURE_CMD_MAX_EXEC_TIME=10

prompt pure

alias r="source ~/.zshrc"
alias up="sudo apt update"
@@ -37,3 +25,5 @@ alias i="sudo apt install"
alias trz="trezor-agent"
alias gs="git status"
alias phx="iex -S mix phx.server"

alias tunnel="trz -v root@tunnel.inhji.de -- ssh -R 1337:localhost:4000 root@tunnel.inhji.de"

+ 0
- 1
nvm

@@ -1 +0,0 @@
Subproject commit 45c1b84794d446dd8274938c8259cbfd8b846e47

+ 0
- 1
oh-my-zsh

@@ -1 +0,0 @@
Subproject commit 177d11d30ecd978b68b08b86d7dabff4c3218280

Loading…
Cancel
Save