config: add DNS change aliases

This commit is contained in:
xerus2000 2020-12-12 16:51:37 +01:00
parent 1b77c3e93e
commit 747603f637
2 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,7 @@
;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default:
(setq doom-theme 'doom-one
doom-font (font-spec :family "Fira Code" :size 28 :weight 'semi-light)
doom-font (font-spec :family "Fira Code" :size 26 :weight 'semi-light)
doom-variable-pitch-font (font-spec :family "sans" :size 28))
(setq display-line-numbers-type 'relative)

View File

@ -106,6 +106,9 @@ alias lst='( last; last -f /var/log/wtmp.1 ) | grep -v "pts/" | tac | less +G'
alias lar='last | tac'
tr() { tree -a -L 2 --du -h -C "$@" | ${PAGER:-less} }
alias browse-safe='sudo systemctl disable --now systemd-resolved && sudo rm /etc/resolv.conf && sudo cp /etc/resolv.conf.bak /etc/resolv.conf && sudo chattr +i /etc/resolv.conf'
alias browse-unsafe='sudo chattr -i /etc/resolv.conf && sudo mv /etc/resolv.conf /etc/resolv.conf.bak && sudo systemctl enable --now systemd-resolved'
xo() {
while test $# -gt 0; do
xdg-open "$1"