This commit is contained in:
Geoffrey Frogeye 2017-06-27 09:21:33 +02:00
commit 95466665f0
6 changed files with 37 additions and 17 deletions

4
bashrc
View file

@ -113,7 +113,7 @@ export PATH="$HOME/.scripts/:$PATH"
[ -f /etc/bash_completion ] && . /etc/bash_completion [ -f /etc/bash_completion ] && . /etc/bash_completion
# Bad day mood-saver # Bad day mood-saver
fuck() { function fuck {
if which thefuck &> /dev/null if which thefuck &> /dev/null
then then
eval $(thefuck --alias) eval $(thefuck --alias)
@ -125,7 +125,7 @@ fuck() {
alias FUCK='fuck' alias FUCK='fuck'
# Node Version Manager # Node Version Manager
nvm() { function nvm {
export NVM_DIR="$HOME/.nvm" export NVM_DIR="$HOME/.nvm"
if [ -s "$NVM_DIR/nvm.sh" ] if [ -s "$NVM_DIR/nvm.sh" ]
then then

View file

@ -174,7 +174,7 @@
# Valid values: host, path, query, anchor # Valid values: host, path, query, anchor
# Default: path,query # Default: path,query
ignore-case = smart 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 yank-ignored-url-parameters = ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content
default-open-dispatcher = default-open-dispatcher =
default-page = ${startpage} default-page = ${startpage}

38
inputrc
View file

@ -1,18 +1,34 @@
$include /etc/inputrc $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 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-ambiguous on
set show-all-if-unmodified on
set skip-completed-text on
set visible-stats on set visible-stats on
set page-completions off
$if mode=vi $if mode=vi
set keymap vi-command set keymap vi-command
# these are for vi-command mode # these are for vi-command mode
"\e[A": history-search-backward "\e[A": history-search-backward
"\e[B": history-search-forward "\e[B": history-search-forward
Control-l: clear-screen Control-l: clear-screen
set keymap vi-insert set keymap vi-insert
# these are for vi-insert mode # these are for vi-insert mode
"\e[A": history-search-backward "\e[A": history-search-backward
"\e[B": history-search-forward "\e[B": history-search-forward
Control-l: clear-screen Control-l: clear-screen
$endif $endif

View file

@ -252,7 +252,7 @@ if [ $GUI == 1 ]; then
rm -rf $TMP_DIR rm -rf $TMP_DIR
elif [ $ARCH == 1 ]; then elif [ $ARCH == 1 ]; then
altInst qutebrowser inst qutebrowser qt5-webengine
fi fi
# Screen filter # Screen filter
@ -282,7 +282,7 @@ if [ $EXTRA == 1 ]; then
inst sl ffmpeg youtube-dl inst sl ffmpeg youtube-dl
if [ $ARCH == 1 ]; then if [ $ARCH == 1 ]; then
altInst pdftk translate-shell git-lfs js-beautify altInst pdftk translate-shell git-lfs js-beautify insect
fi fi
# Extra GUI # Extra GUI

4
scripts/rep Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
mv "$1" "$2"
ln -s "$2" "$1"

2
vimrc
View file

@ -44,7 +44,7 @@ nmap <F7> :UndotreeToggle<CR>:UndotreeFocus<CR>
""" CTRLP """ """ CTRLP """
let g:ctrlp_custom_ignore = { 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)$', \ 'file': '\v\.(exe|so|dll)$',
\ 'link': 'SOME_BAD_SYMBOLIC_LINKS', \ 'link': 'SOME_BAD_SYMBOLIC_LINKS',
\ } \ }