Commit before pull.

This commit is contained in:
Cyteen May 2019-04-13 15:43:41 +01:00
parent d7b339c66b
commit 7a5edfa464
6 changed files with 32 additions and 4 deletions

View File

@ -56,4 +56,5 @@ apt-get -y install terminology
apt-get -y install geeqie
apt-get -y install vbindiff
apt-get -y install xwhexedit
apt-get -y install lshw

View File

@ -4,6 +4,7 @@ cat > ${ALIAS_FILE} <<'EOF'
# coloured output using grc
if [ -e /usr/bin/grc ]; then
alias cl="/usr/bin/grc -es --colour=auto"
alias cat="cl cat"
alias ping="cl ping"
alias netstat="cl netstat"
alias traceroute="cl traceroute"
@ -11,6 +12,8 @@ if [ -e /usr/bin/grc ]; then
alias tail="cl tail"
alias ps="cl ps"
alias lsof="cl lsof"
alias lsmod="cl lsmod"
alias lsattr="cl lsattr"
alias gcc="cl gcc"
alias make="cl make"
alias configure="cl configure"
@ -19,6 +22,28 @@ if [ -e /usr/bin/grc ]; then
alias ifconfig="cl /sbin/ifconfig"
alias mount="cl mount"
alias mtr="cl mtr --curses"
alias nmap="cl nmap"
alias ntpdate="cl ntpdate"
alias df="cl df -hT | column -t"
alias getfcl="cl getfcl"
alias tail="cl tail"
alias ip="cl ip"
alias id="cl id"
alias fdisk="cl fdisk"
alias free="cl free"
alias findmnt="cl findmnt"
alias docker="cl docker"
alias env="cl env"
alias iptables="cl iptables"
alias iwconfig="cl iwconfig"
alias lspci="cl lspci"
alias lsblk="cl lsblc"
alias blkid="cl blkid"
alias showmount="cl showmount"
alias tcpdump="cl tcpdump"
alias tune2fs="cl tune2fs"
alias vmstat="cl vmstat"
alias uptime="cl uptime"
alias whois="cl whois"
fi
EOF

View File

@ -36,6 +36,6 @@ ALIAS_FILE=/home/default/.zsh_aliases.d/003-lsd.sh
cat > ${ALIAS_FILE} <<'EOF'
if [ -x /usr/bin/lsd ]; then
alias lsd="/usr/bin/lsd"
alias ls="lsd --group-dirs first"
alias ls="lsd"
fi
EOF

View File

@ -4,7 +4,7 @@ mkdir -p ~/.config/mpv
## https://www.dotslashlinux.com/2017/03/31/optimal-mpv-configuration/
## Low cpu
#cat > ~/.config/mpv/mpv.conf<< 'EOF'
cat > ~/.config/mpv/mpv.conf<< 'EOF'
#profile=opengl-hq
#scale=ewa_lanczossharp
#cscale=ewa_lanczossoft
@ -17,7 +17,7 @@ mkdir -p ~/.config/mpv
#deband=no
#volume-max=100
#hwdec=vaapi
#EOF
EOF
#
## Quality over performance
#cat > ~/.config/mpv/mpv.conf << 'EOF'

View File

@ -25,4 +25,4 @@ apt-get install python3-setuptools libjpeg-dev python3-dev
# zlib
# libjpeg
pip3 install --user ueberzug
pip3 install ueberzug

View File

@ -196,6 +196,8 @@ Plugin 'scrooloose/nerdtree'
Plugin 'jistr/vim-nerdtree-tabs'
Plugin 'severin-lemaignan/vim-minimap'
let g:minimap_highlight='Visual'
let NERDTreeQuitOnOpen=1
map <F2> :NERDTreeToggle<CR>
silent! nmap <C-p> :NERDTreeToggle<CR>