init: Start dotfiles with a test container to verify installation.
This commit is contained in:
commit
9232cf030b
10 changed files with 465 additions and 0 deletions
18
.config/aliasrc
Normal file
18
.config/aliasrc
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Typical verbosity and settings.
|
||||
alias \
|
||||
mkd='mkdir -pv' \
|
||||
ffmepg='ffmpeg -hidebanner'
|
||||
|
||||
# Colorize when possible.
|
||||
alias \
|
||||
ls='ls -h -N -G --group-directories-first' \
|
||||
grep='grep --color=auto'
|
||||
|
||||
# Shortenings
|
||||
alias \
|
||||
d='docker' \
|
||||
h='history' \
|
||||
l='less' \
|
||||
s='sudo'
|
||||
47
.config/inputrc
Normal file
47
.config/inputrc
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
$include /etc/inputrc
|
||||
|
||||
set colored-stats On
|
||||
set completion-prefix-display-length 6
|
||||
set mark-symlinked-directories On
|
||||
|
||||
set bell-style none
|
||||
set completion-ignore-case off
|
||||
set show-all-if-ambiguous on
|
||||
set menu-complete-display-prefix on
|
||||
|
||||
"\e[Z": menu-complete
|
||||
"\e[A": history-search-backward
|
||||
"\e[B": history-search-forward
|
||||
|
||||
# "\eOd": backward-word
|
||||
# "\eOc": forward-word
|
||||
#
|
||||
# # for linux console
|
||||
# "\e[1~": beginning-of-line
|
||||
# "\e[4~": end-of-line
|
||||
# "\e[5~": beginning-of-history
|
||||
# "\e[6~": end-of-history
|
||||
# "\e[3~": delete-char
|
||||
# "\e[2~": quoted-insert
|
||||
#
|
||||
# # for xterm
|
||||
# "\eOH": beginning-of-line
|
||||
# "\eOF": end-of-line
|
||||
|
||||
set editing-mode vi
|
||||
$if mode=vi
|
||||
|
||||
set show-mode-in-prompt on
|
||||
set vi-ins-mode-string \1\e\[6 q\2
|
||||
set vi-cmd-mode-string \1\e\[2 q\2
|
||||
|
||||
set keymap vi-command
|
||||
Control-l: clear-screen
|
||||
Control-a: beginning-of-line
|
||||
|
||||
set keymap vi-insert
|
||||
Control-l: clear-screen
|
||||
Control-a: beginning-of-line
|
||||
"\C-i": menu-complete
|
||||
|
||||
$endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue