find mime -type f -exec xdg-mime install {} \;
#update-mime-database ~/.local/usr/share/mime
or
sudo find mime -exec xdg-mime install {} \;
#sudo update-mime-database /usr/share/mime
Load a resource file, and merge with the current settings:
xrdb -merge ~/.Xresources
ln ~/.profile ~/.zprofile
lesskey -o ~/.less -<<EOF
#command
\e[7~ goto-line
\e[8~ goto-end
EOF
https://wiki.archlinux.org/index.php/Home_and_End_keys_not_working
Remove the Regular
value in grep ^Font $HOME/.config/k*
.
gsettings set org.gnome.desktop.interface overlay-scrolling false
NINJA_STATUS=$'\x1b[32m[%f/%t] \x1b[0m' CLICOLOR_FORCE= ninja .....
/!\ Update repo
a=($( stat -c='%h %n' $(<hardlinks) | sed '/^=1 /!d;s/^...//;t;d' )) &&
rm -- $=a &&
for f in $a ; do
ln -P -- ~/$f $f
done
/!\ Update $HOME
a=($( stat -c='%h %n' $(<hardlinks) | sed '/^=1 /!d;s/^...//;t;d' )) &&
for f in $a ; do
rm -- ~/$f && ln -P -- $f ~/$f
done
Depends on zsh_scripts.
zsh -c "rm -f ~/projects/dotfiles/zsh_funcs/* ||:
ln -P ~/projects/dotfiles/zsh_functions/{def,defl,erd} ~/projects/zsh-scripts/{functions,widgets}/* ~/projects/dotfiles/zsh_funcs/
mv ~/projects/dotfiles/zsh_funcs/extract ~/projects/dotfiles/zsh_funcs/er
autoload zrecompile
zrecompile -p \
-R ~/.zshrc -- \
-M ${ZSH_COMPDUMP:-~/.zcompdump} -- \
~/.zshcompletions.zwc ~/.zshcompletions/_* -- \
~/projects/dotfiles/zsh_funcs.zwc ~/projects/dotfiles/zsh_funcs/*"