#for gui cp/mv in linux
wget http://ftp.gnu.org/gnu/coreutils/coreutils-9.0.tar.xz
tar xvJf coreutils-9.0.tar.xz
cd coreutils-9.0/
wget https://raw.githubusercontent.com/jarun/advcpmv/master/advcpmv-0.9-9.0.patch
patch -p1 -i advcpmv-0.9-9.0.patch
#install lib dependencies , c compiler, and make
sudo apt install gcc make libc-dev
#read README
./configure
make
cd src
cp cp ~/.local/bin/cpg
cp mv ~/.local/bin/mvg
fallocate -l 5G test.img
cpg -g test.img test1.img
alias cp='cpg -g'
alias mv='mvg -g
for nnn
sudo apt-get install pkg-config libncursesw5-dev libreadline-dev
git clone --depth=1 https://github.com/jarun/nnn
cd nnn
make O_NERD=1
cp nnn ~/.local/bin/
sudo apt install bsdtar unrar rar zip unzip archivemount atool
sudo apt install tabbed
cp ~/nnn/plugins/* ~/.config/nnn/plugins/
nano .bashrc
export NNN_BMS='d:~/Documents;p:~/mnt/pods/;D:~/Downloads/'
export NNN_COLORS="2136"
export NNN_PLUG='f:finder;o:fzopen'
export SUDO_ASKPASS=/home/k/.local/bin/rpass
alias ncp="cat ${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection} | tr '\0' '\n'"
export QT_QPA_PLATFORMTHEME=qt5ct
export NO_AT_BRIDGE=1
HISTCONTROL=ignoreboth
shopt -s histappend
HISTSIZE=1000
HISTFILESIZE=2000
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
for st
sudo apt install libx11-dev
make
./st
#asciinema records terminal and ask to upload it or save local
sudo apt-get install asciinema
asciinema rec
Comments
Post a Comment