init linux setup

This commit is contained in:
Adam Jeniski 2022-05-21 10:00:09 -04:00
parent eb278ed3e4
commit c077dcbeb8
6 changed files with 20 additions and 10 deletions

18
.bashrc
View File

@ -90,11 +90,6 @@ fi
# colored GCC warnings and errors # colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' #export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# Add an "alert" alias for long running commands. Use like so: # Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert # sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
@ -119,5 +114,14 @@ if ! shopt -oq posix; then
fi fi
fi fi
neofetch # run neofetch
alias config='git --git-dir=$HOME/.cfg/ --work-tree=$HOME' # neofetch
# setup node version manager
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# add go installed apps to path
PATH=$PATH:~/go/bin

1
.config/alacritty/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
!alacritty.yml

View File

@ -10,8 +10,7 @@ window:
y: 15 y: 15
decorations: none decorations: none
startup_mode: Windowed # Fullscreen startup_mode: Windowed # Fullscreen
opacity: 0.66
background_opacity: 0.85
key_bindings: key_bindings:
- { key: F10, action: ToggleFullscreen } - { key: F10, action: ToggleFullscreen }

3
.config/nvim/.netrwhist Normal file
View File

@ -0,0 +1,3 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhistcnt =1
let g:netrw_dirhist_1='/home/ajet/.vim'

View File

@ -0,0 +1,3 @@
{
"svelte.enable-ts-plugin": true
}

View File

@ -1,2 +1,2 @@
set number source ~/.vim/vimrc