diff --git a/bashrc b/bashrc index 244e02f..98d0e92 100644 --- a/bashrc +++ b/bashrc @@ -113,7 +113,7 @@ export PATH="$HOME/.scripts/:$PATH" [ -f /etc/bash_completion ] && . /etc/bash_completion # Bad day mood-saver -fuck() { +function fuck { if which thefuck &> /dev/null then eval $(thefuck --alias) @@ -125,7 +125,7 @@ fuck() { alias FUCK='fuck' # Node Version Manager -nvm() { +function nvm { export NVM_DIR="$HOME/.nvm" if [ -s "$NVM_DIR/nvm.sh" ] then diff --git a/config/qutebrowser/qutebrowser.conf b/config/qutebrowser/qutebrowser.conf index 1d9b006..64d282d 100644 --- a/config/qutebrowser/qutebrowser.conf +++ b/config/qutebrowser/qutebrowser.conf @@ -174,7 +174,7 @@ # Valid values: host, path, query, anchor # Default: path,query ignore-case = smart -startpage = https://geoffrey.frogeye.fr/home.php?eo46hQ7nc9mFMapvuWUyOOm8Ld86eh +startpage = https://geoffrey.frogeye.fr/home.php yank-ignored-url-parameters = ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content default-open-dispatcher = default-page = ${startpage} diff --git a/inputrc b/inputrc index 0ac0721..9f4f421 100644 --- a/inputrc +++ b/inputrc @@ -1,18 +1,34 @@ $include /etc/inputrc +set bell-style none +set completion-ignore-case on +set completion-prefix-display-length 4 +set completion-query-items 200 set editing-mode vi +set history-preserve-point on +set history-size 10000 +set horizontal-scroll-mode on +set mark-directories on +set mark-modified-lines off +set mark-symlinked-directories on +set match-hidden-files on +set page-completions on +set print-completions-horizontally on +set revert-all-at-newline off set show-all-if-ambiguous on +set show-all-if-unmodified on +set skip-completed-text on set visible-stats on -set page-completions off + $if mode=vi -set keymap vi-command -# these are for vi-command mode -"\e[A": history-search-backward -"\e[B": history-search-forward -Control-l: clear-screen -set keymap vi-insert -# these are for vi-insert mode -"\e[A": history-search-backward -"\e[B": history-search-forward -Control-l: clear-screen + set keymap vi-command + # these are for vi-command mode + "\e[A": history-search-backward + "\e[B": history-search-forward + Control-l: clear-screen + set keymap vi-insert + # these are for vi-insert mode + "\e[A": history-search-backward + "\e[B": history-search-forward + Control-l: clear-screen $endif diff --git a/scripts/install-prefs b/scripts/install-prefs index 7159c13..850fd4d 100755 --- a/scripts/install-prefs +++ b/scripts/install-prefs @@ -252,7 +252,7 @@ if [ $GUI == 1 ]; then rm -rf $TMP_DIR elif [ $ARCH == 1 ]; then - altInst qutebrowser + inst qutebrowser qt5-webengine fi # Screen filter @@ -282,7 +282,7 @@ if [ $EXTRA == 1 ]; then inst sl ffmpeg youtube-dl if [ $ARCH == 1 ]; then - altInst pdftk translate-shell git-lfs js-beautify + altInst pdftk translate-shell git-lfs js-beautify insect fi # Extra GUI diff --git a/scripts/rep b/scripts/rep new file mode 100755 index 0000000..217c415 --- /dev/null +++ b/scripts/rep @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +mv "$1" "$2" +ln -s "$2" "$1" diff --git a/vimrc b/vimrc index 9f319f7..b4a254c 100644 --- a/vimrc +++ b/vimrc @@ -44,7 +44,7 @@ nmap :UndotreeToggle:UndotreeFocus """ CTRLP """ let g:ctrlp_custom_ignore = { - \ 'dir': '\v([\/]\.(git|hg|svn)|node_modules|bower_components|__pycache__|vendor|output)$', + \ 'dir': '\v([\/]\.(git|hg|svn)|node_modules|bower_components|__pycache__|vendor|output|buildroot)$', \ 'file': '\v\.(exe|so|dll)$', \ 'link': 'SOME_BAD_SYMBOLIC_LINKS', \ }