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
# 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

View File

@ -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}

38
inputrc
View File

@ -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

View File

@ -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

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 """
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',
\ }