mirror of
https://github.com/Ajetski/dotfiles.git
synced 2025-09-30 09:33:19 -09:00
init linux setup
This commit is contained in:
parent
eb278ed3e4
commit
c077dcbeb8
18
.bashrc
18
.bashrc
@ -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
1
.config/alacritty/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
!alacritty.yml
|
@ -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
3
.config/nvim/.netrwhist
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
let g:netrw_dirhistmax =10
|
||||||
|
let g:netrw_dirhistcnt =1
|
||||||
|
let g:netrw_dirhist_1='/home/ajet/.vim'
|
3
.config/nvim/coc-settings.json
Normal file
3
.config/nvim/coc-settings.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"svelte.enable-ts-plugin": true
|
||||||
|
}
|
@ -1,2 +1,2 @@
|
|||||||
set number
|
source ~/.vim/vimrc
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user