From 7a5edfa4649ae98faa739df92392821d6dffde96 Mon Sep 17 00:00:00 2001 From: Cyteen May Date: Sat, 13 Apr 2019 15:43:41 +0100 Subject: [PATCH] Commit before pull. --- 010_apt-get.sh | 1 + 020_grc.sh | 25 +++++++++++++++++++++++++ 020_lsd.sh | 2 +- 020_mpv.conf | 4 ++-- 020_vifm.sh | 2 +- 020_vim.sh | 2 ++ 6 files changed, 32 insertions(+), 4 deletions(-) diff --git a/010_apt-get.sh b/010_apt-get.sh index 3f60014..8726730 100644 --- a/010_apt-get.sh +++ b/010_apt-get.sh @@ -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 diff --git a/020_grc.sh b/020_grc.sh index 353a769..496f3da 100644 --- a/020_grc.sh +++ b/020_grc.sh @@ -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 diff --git a/020_lsd.sh b/020_lsd.sh index bb2e9c2..89275a7 100644 --- a/020_lsd.sh +++ b/020_lsd.sh @@ -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 diff --git a/020_mpv.conf b/020_mpv.conf index 9737fb4..df56b9f 100644 --- a/020_mpv.conf +++ b/020_mpv.conf @@ -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' diff --git a/020_vifm.sh b/020_vifm.sh index f7558cc..430512a 100644 --- a/020_vifm.sh +++ b/020_vifm.sh @@ -25,4 +25,4 @@ apt-get install python3-setuptools libjpeg-dev python3-dev # zlib # libjpeg -pip3 install --user ueberzug +pip3 install ueberzug diff --git a/020_vim.sh b/020_vim.sh index 8699497..1c8d0d9 100644 --- a/020_vim.sh +++ b/020_vim.sh @@ -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 :NERDTreeToggle silent! nmap :NERDTreeToggle