adding stuff
This commit is contained in:
parent
b324d45c37
commit
ad0866ddd0
4 changed files with 10 additions and 9 deletions
|
|
@ -18,7 +18,7 @@ alias vi="vim"
|
|||
# git aliases
|
||||
alias gs='git status'
|
||||
alias ga='git add'
|
||||
alias gc='git commit'
|
||||
alias gc='git commit -S'
|
||||
alias gp='git push origin master'
|
||||
alias gpull='git pull origin master'
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ alias muzika='xdg-open /home/viktor/Documents/Music/njoy.m3u'
|
|||
alias randomstr="tr -dc a-z1-4 </dev/urandom | tr 1-2 ' \n' | awk 'length==0 || length>50' | tr 3-4 ' ' | sed 's/^ *//' | cat -s | sed 's/ / /g' |fmt"
|
||||
alias battery="upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -E 'time to empty|state|to\ full|percentage'"
|
||||
alias svali_papka=download_github_folder
|
||||
alias omg="sudo service NetworkManager restart"
|
||||
alias omg="sudo systemctl restart NetworkManager"
|
||||
alias omg1.1="sudo rmmod iwlmvm && sudo rmmod iwlwifi; sudo modprobe iwlwifi"
|
||||
alias zsh_fix="mv ~/.zsh_history ~/.zsh_history_bad; strings ~/.zsh_history_bad > ~/.zsh_history;fc -R ~/.zsh_history; rm ~/.zsh_history_bad"
|
||||
alias myip="curl ifconfig.co"
|
||||
|
|
@ -234,6 +234,7 @@ alias f="free -h"
|
|||
alias h="sudo htop"
|
||||
alias a="sudo atop"
|
||||
alias e="exa -bghHliS"
|
||||
alias n="sudo nethogs"
|
||||
alias hosts="sudo vim /etc/hosts"
|
||||
|
||||
# Source:
|
||||
|
|
|
|||
6
.vimrc
6
.vimrc
|
|
@ -437,12 +437,6 @@ augroup END
|
|||
let g:neocomplete#enable_at_startup = 1 " DO NOT MOVE in another file
|
||||
let g:xptemplate_key = '<Space><Space>'
|
||||
|
||||
let g:ale_fixers = {
|
||||
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
||||
\ 'javascript': ['eslint'],
|
||||
\}
|
||||
|
||||
|
||||
" Put these lines at the very end of your vimrc file.
|
||||
|
||||
" Load all plugins now.
|
||||
|
|
|
|||
6
.zshrc
6
.zshrc
|
|
@ -156,3 +156,9 @@ export PATH="/opt/azure/:$PATH"
|
|||
# add k8s autocompletion
|
||||
# source <(kubectl completion zsh)
|
||||
unset command_not_found_handle
|
||||
|
||||
# Load nvm
|
||||
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
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"files.autoSave": "afterDelay",
|
||||
"editor.formatOnSave": true,
|
||||
"javascript.updateImportsOnFileMove.enabled": "always",
|
||||
"window.zoomLevel": 0,
|
||||
"window.zoomLevel": -1,
|
||||
"editor.minimap.enabled": true,
|
||||
"editor.renderWhitespace": "all",
|
||||
"editor.renderControlCharacters": true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue