all repos — dotfiles @ fb3cb21899ad53f45d230c4ffa155c1bc2dd66e6

linux dotfiles

bruh -- idk man, just a bunch'o changes
Prithu Goswami pg@prithu.dev
Mon, 08 Nov 2021 22:17:05 +0530
commit

fb3cb21899ad53f45d230c4ffa155c1bc2dd66e6

parent

0c629a2b5b6a9c3e6d5b26bf9e792a80d74f40d1

5 files changed, 25 insertions(+), 18 deletions(-)

jump to
M config/launcherconfig/launcher

@@ -1,17 +1,10 @@

log -firefox-developer-edition -qutebrowser +passmenu_ +otp i3lock -c 000000 -telegram-desktop -pamac-manager -tixati note chromium nautilus newsboat_ notes_scrot -google -ud -passmenu --type -passmenu-otp --type st -e bash -c neomutt
M config/newsboat/configconfig/newsboat/config

@@ -14,4 +14,4 @@ bind-key k up

bind-key l open bind-key h quit -browser linkhandler %u +# browser linkhandler %u
M home/.bashrchome/.bashrc

@@ -27,6 +27,7 @@ fe(){

vim "`fzf -i --reverse --height=40%`" } + # f - simply cd's into the dir beneath the current f(){ cd "$(dirname "$(fzf -i --reverse --height=40%)")"

@@ -113,6 +114,11 @@ alias yal="mpv --ytdl-format=251"

alias tmuxl="tmux list-session" alias rl="gpg -d ~/docs/org/lifelog/ll.gpg | sed 's/\t/ │ /' | less" alias tb="nc termbin.com 9999" +alias tl="curl -s https://api.kraken.com/0/public/Ticker?pair=XBTUSD | jq -r '.result.XXBTZUSD.c[0]' | cut -d. -f1" +alias tf="terraform" +alias tss="timesheetctl s" +alias tse="timesheetctl e" + # alias ls='ls --color=auto' alias ls='exa'

@@ -141,8 +147,10 @@ dd if=/dev/urandom status=none bs=1024 count=1 | strings | tr -d '[:space:][:punct:][:digit:][Ilq]' | cut -c -${1:-4}

} PROMPT_DIRTRIM=2 -# source /usr/share/nvm/init-nvm.sh - -# export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" +activate_nvm () { + source /usr/share/nvm/init-nvm.sh + export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" + [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +} -# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +complete -C /usr/bin/terraform terraform
M home/.profilehome/.profile

@@ -12,3 +12,5 @@

export PATH="$HOME/.cargo/bin:$PATH" export PATH="$HOME/.local/bin:$PATH" source $HOME/.config/secrets + +export PATH="$HOME/.poetry/bin:$PATH"
M home/.vimrchome/.vimrc

@@ -121,7 +121,7 @@ nnoremap <C-S-p> "+P

map <C-n> :NERDTreeToggle<CR> -set number " number line +set number relativenumber " number line set showcmd " show command in bottom bar " MOVEMENT "

@@ -177,14 +177,14 @@

let g:ale_enabled = 0 let g:ale_linters = { -\ 'javascript': ['prettier'], +\ 'javascript': ['eslint'], \} let g:ale_sign_column_always = 1 let g:ale_sign_error = '>>' let g:ale_sign_warning = '--' -let g:ale_fixers = {'javascript': ['prettier']} -let g:ale_fix_on_save = 1 +let g:ale_fixers = {'javascript': ['eslint']} +let g:ale_fix_on_save = 0

@@ -197,3 +197,7 @@ let g:maximizer_set_default_mapping = 0

nnoremap <leader>z :MaximizerToggle<CR> +vnoremap J :m '>+1<CR>gv=gv +vnoremap K :m '<-2<CR>gv=gv + +let NERDTreeIgnore=['__pycache__']