feat: too many edits :c

This commit is contained in:
Flinner 2021-12-31 17:49:15 +03:00
parent 4ebe3fdab9
commit 8dae96a8ba
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
11 changed files with 303 additions and 50 deletions

View File

@ -245,7 +245,7 @@ font:
# Window opacity as a floating point number from `0.0` to `1.0`. # Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque. # The value `0.0` is completely transparent and `1.0` is opaque.
#background_opacity: 1.0 #background_opacity: 1.0
background_opacity: 0.95 background_opacity: 0.9
#selection: #selection:
# This string contains all characters that are used as separators for "semantic words" in Alacritty. # This string contains all characters that are used as separators for "semantic words" in Alacritty.

View File

@ -5,5 +5,7 @@ setxkbmap -model pc105 -layout us,ar -variant ,qwerty -option grp:shifts_toggle
# touchpad touch # touchpad touch
idd=$(xinput --list | grep 'Touchpad' | awk '{print $6}'| cut -d'=' -f2) idd=$(xinput --list | grep 'Touchpad' | awk '{print $6}'| cut -d'=' -f2)
xinput set-prop $idd 309 1 #xinput set-prop $idd 343 1
prop=$(xinput list-props $idd | grep 'Tapping Enabled (' | sed 's/.*(\(.*\)).*/\1/')
xinput set-prop $idd $prop 1

View File

@ -92,7 +92,7 @@ Better Scrolling
** Fonts ** Fonts
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq my/ui/monofont "Fira Code") (setq my/ui/monofont "Fira Code")
(setq my/ui/varfont "Cantarell") (setq my/ui/varfont "Noto Serif")
#+end_src #+end_src
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -104,7 +104,7 @@ Better Scrolling
#+end_src #+end_src
#+begin_src emacs-lisp #+begin_src emacs-lisp
(defun my/ui/font-check () (defun my/ui/font-check ()
"Do font check, then remove self from `focus-in-hook'; need to run this just once." "Do font check, then remove self from `focus-in-hook'; need to run this just once."
(set-face-attribute 'default nil :font my/ui/monofont :height 90) (set-face-attribute 'default nil :font my/ui/monofont :height 90)
(set-face-attribute 'fixed-pitch nil :font my/ui/monofont :height 90) (set-face-attribute 'fixed-pitch nil :font my/ui/monofont :height 90)
@ -112,7 +112,7 @@ Better Scrolling
;; Info has a horrible mono font ;; Info has a horrible mono font
(set-face-attribute 'Info-quoted nil :font my/ui/monofont :height 90) (set-face-attribute 'Info-quoted nil :font my/ui/monofont :height 90)
(remove-hook 'focus-in-hook #'my/ui/font-check)) (remove-hook 'focus-in-hook #'my/ui/font-check))
(add-hook 'focus-in-hook #'my/ui/font-check) (add-hook 'focus-in-hook #'my/ui/font-check)
#+end_src #+end_src
** Theme ** Theme
@ -136,6 +136,7 @@ Actuall Theme:
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled (setq doom-themes-enable-bold t ; if nil, bold is universally disabled
doom-themes-enable-italic t) ; if nil, italics is universally disabled doom-themes-enable-italic t) ; if nil, italics is universally disabled
(load-theme 'doom-gruvbox t) (load-theme 'doom-gruvbox t)
;; (load-theme 'doom-one-light t)
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
@ -161,6 +162,15 @@ buffers with dimmed colors
:init (solaire-global-mode +1)) :init (solaire-global-mode +1))
#+end_src #+end_src
#+begin_src emacs-lisp
(use-package olivetti
:diminish
:hook (text-mode . olivetti-mode)
:config
(setq olivetti-body-width 100))
#+end_src
** Line Numbers ** Line Numbers
DEPRECATED Enable Globally DEPRECATED Enable Globally
#+begin_src emacs-lisp :tangle no #+begin_src emacs-lisp :tangle no
@ -608,7 +618,6 @@ Capture
(evil-snipe-mode +1)) (evil-snipe-mode +1))
#+end_src #+end_src
* Completions * Completions
** ivy ** ivy
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -674,7 +683,7 @@ Ivy floating
slow loading! defer it slow loading! defer it
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package which-key (use-package which-key
:defer 9 :defer 5
:diminish which-key-mode :diminish which-key-mode
:config :config
(which-key-mode) (which-key-mode)
@ -686,16 +695,18 @@ slow loading! defer it
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package company (use-package company
:ensure :ensure
; :hook (lsp-mode . company-mode) :defer 3
:diminish company-mode
:custom :custom
(global-company-mode t) (global-company-mode t)
(company-idle-delay 0.1) ;; how long to wait until popup (company-idle-delay 0.01) ;; how long to wait until popup
(company-minimum-prefix-length 1) ;; The minimum prefix length for idle completion. (company-minimum-prefix-length 1) ;; The minimum prefix length for idle completion.
(company-selection-wrap-around t) (company-selection-wrap-around t)
;; (company-begin-commands nil) ;; uncomment to disable popup ;; (company-begin-commands nil) ;; uncomment to disable popup
:bind :bind
(:map company-active-map (:map company-active-map
("C-n". company-select-next) ("C-n". company-select-next)
("C-w". evil-delete-backward-word)
("<tab>" . company-complete-common-or-cycle) ("<tab>" . company-complete-common-or-cycle)
("RET" . company-complete-selection) ("RET" . company-complete-selection)
("C-p". company-select-previous) ("C-p". company-select-previous)
@ -705,6 +716,7 @@ slow loading! defer it
;; (use-package company-lsp) ;; (use-package company-lsp)
(use-package company-box (use-package company-box
:after company
:hook (company-mode . company-box-mode)) :hook (company-mode . company-box-mode))
#+end_src #+end_src
@ -721,17 +733,23 @@ better sorting for ivy, company..
(use-package company-prescient (use-package company-prescient
:after company :after company
:init (company-prescient-mode 1)) :config
(company-prescient-mode 1)
(prescient-persist-mode)
)
;; (use-package selectrum-prescient) ;; (use-package selectrum-prescient)
#+end_src #+end_src
** Yasnippet ** Yasnippet
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package yasnippet (use-package yasnippet
:defer 3
:config :config
(yas-global-mode)) (yas-global-mode))
(use-package yasnippet-snippets) (use-package yasnippet-snippets
:after yasnippet
)
#+end_src #+end_src
@ -754,7 +772,7 @@ Modes To Start
(defun my/org-mode/org-mode-setup () (defun my/org-mode/org-mode-setup ()
(interactive) (interactive)
(org-indent-mode) (org-indent-mode)
(variable-pitch-mode 1) (variable-pitch-mode 0)
(visual-line-mode 1)) (visual-line-mode 1))
#+end_src #+end_src
use-package use-package
@ -781,7 +799,9 @@ use-package
(org-level-6 . 1.1) (org-level-6 . 1.1)
(org-level-7 . 1.1) (org-level-7 . 1.1)
(org-level-8 . 1.1))) (org-level-8 . 1.1)))
;; (set-face-attribute (car face) nil :font my/ui/varfont :weight 'regular :height (cdr face)))
(set-face-attribute (car face) nil :font my/ui/varfont :weight 'regular :height (cdr face))) (set-face-attribute (car face) nil :font my/ui/varfont :weight 'regular :height (cdr face)))
;)
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)) (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
@ -817,7 +837,7 @@ use-package
#+end_src #+end_src
*** Visual Fill (center) *** Visual Fill (center)
#+begin_src emacs-lisp #+begin_src emacs-lisp :tangle no
(defun my/org-mode/org-mode-visual-fill () (defun my/org-mode/org-mode-visual-fill ()
(interactive) (interactive)
(setq visual-fill-column-width 110 (setq visual-fill-column-width 110
@ -825,7 +845,7 @@ use-package
fill-column 90) fill-column 90)
(visual-fill-column-mode 1)) (visual-fill-column-mode 1))
#+end_src #+end_src
#+begin_src emacs-lisp #+begin_src emacs-lisp :tangle no
(use-package visual-fill-column; center text (use-package visual-fill-column; center text
:hook (org-mode . my/org-mode/org-mode-visual-fill)) :hook (org-mode . my/org-mode/org-mode-visual-fill))
#+end_src #+end_src
@ -908,7 +928,8 @@ launch with =emacsclient -e '(make-orgcapture-frame)'=
*** T/ODOs *** T/ODOs
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)") (setq org-todo-keywords '((sequence "TODO(t)" "|" "DONE(d)")
(sequence "BACKLOG(b)" "IN PROGRESS(p)" "WAITING(w)" "|") (sequence "BACKLOG(b)" "STARTED(s)" "WAITING(w)" "|")
(sequence "CLASS(l)" "|" "FUN(f)" )
(sequence "|" "CANCELED(c)"))) (sequence "|" "CANCELED(c)")))
#+end_src #+end_src
@ -1125,8 +1146,8 @@ Counsel Projectile
*** Recentf *** Recentf
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package recentf (use-package recentf
:init (recentf-mode 1) :defer 10
) :init (recentf-mode 1))
#+end_src #+end_src
*** lsp performance *** lsp performance
@ -1289,7 +1310,7 @@ Get treemacs-lsp
#+end_src #+end_src
*** V *** V
#+begin_src emacs-lisp #+begin_src emacs-lisp :tangle no
(use-package v-mode (use-package v-mode
:defer t :defer t
:preface :preface
@ -1388,7 +1409,9 @@ svelte
prettier prettier
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package prettier) (use-package prettier
:defer t
)
#+end_src #+end_src
lsp hooks setups lsp hooks setups
@ -1411,7 +1434,7 @@ Better Diff in header sizes
'(markdown-header-face-6 ((t (:inherit markdown-header-face :height 1.0)))) '(markdown-header-face-6 ((t (:inherit markdown-header-face :height 1.0))))
)) ))
(add-hook 'markdown-mode-hook 'my/org-mode/org-mode-visual-fill) (add-hook 'markdown-mode-hook 'my/org-mode/org-mode-visual-fill)
(add-hook 'markdown-mode-hook 'outline-minor-mode) ;; (add-hook 'markdown-mode-hook 'outline-minor-mode)
#+end_src #+end_src
*** Vue *** Vue
@ -1424,7 +1447,9 @@ Better Diff in header sizes
*** Scheme (guile) *** Scheme (guile)
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package geiser (use-package geiser
:bind ([remap eval-last-sexp] . geiser-eval-last-sexp)) :defer
;; :bind ([remap eval-last-sexp] . geiser-eval-last-sexp))
)
(use-package geiser-guile) (use-package geiser-guile)
#+end_src #+end_src
@ -1450,6 +1475,209 @@ Better Diff in header sizes
(add-hook 'python-mode-hook 'prettify-symbols-mode) (add-hook 'python-mode-hook 'prettify-symbols-mode)
#+end_src #+end_src
*** LaTeX
AucTex
#+begin_src emacs-lisp
;; latexmk
(use-package auctex-latexmk
:defer t)
;; company
(use-package company-math
:after company)
(use-package company-auctex
:after company)
(use-package company-reftex
:after company)
;; use cdlatex
(use-package cdlatex
:defer t)
;; https://gist.github.com/saevarb/367d3266b3f302ecc896
;; https://piotr.is/2010/emacs-as-the-ultimate-latex-editor/
(use-package latex
:straight auctex
:defer t
:custom
(olivetti-body-width 120)
(cdlatex-simplify-sub-super-scripts nil)
(reftex-default-bibliography
'("~/Documents/refs.bib"))
(bibtex-dialect 'biblatex)
:mode
("\\.tex\\'" . latex-mode)
:bind (:map LaTeX-mode-map
("TAB" . cdlatex-tab)
("'" . cdlatex-math-modify)
("C-c C-e" . cdlatex-environment))
:hook
;; (LaTeX-mode . olivetti-mode)
;; (LaTeX-mode . TeX-PDF-mode)
;; (LaTeX-mode . company-mode)
;; (LaTeX-mode . flyspell-mode)
;; (LaTeX-mode . xenops-mode)
;; (LaTeX-mode . flycheck-mode)
;; (LaTeX-mode . LaTeX-math-mode)
(LaTeX-mode . turn-on-reftex)
(LaTeX-mode . TeX-source-correlate-mode)
(LaTeX-mode . try/latex-mode-setup)
(LaTeX-mode . turn-on-cdlatex)
(LaTeX-mode . lsp)
:config
;; (setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
(setq-default TeX-command-default "LatexMK")
(setq TeX-save-query nil)
(setq reftex-plug-into-AUCTeX t)
;; ;; pdftools
;; ;; https://emacs.stackexchange.com/questions/21755/use-pdfview-as-default-auctex-pdf-viewer#21764
(setq TeX-view-program-selection '((output-pdf "Zathura"))
;; TeX-view-program-list '(("PDF Tools" TeX-pdf-tools-sync-view))
TeX-source-correlate-start-server t) ;; not sure if last line is neccessary
;; (add-to-list 'TeX-view-program-selection '(output-pdf "Zathura"))
;; clean intermdiate tex crap
(add-to-list 'LaTeX-clean-intermediate-suffixes '"-figure[0-9]*\\.\\(pdf\\|md5\\|log\\|dpth\\|dep\\|run\\.xml\\)")
(add-to-list 'LaTeX-clean-intermediate-suffixes '".auxlock")
;; to have the buffer refresh after compilation,
;; very important so that PDFView refesh itself after comilation
;; (add-hook 'TeX-after-compilation-finished-functions
;; #'TeX-revert-document-buffer)
;; latexmk
(require 'auctex-latexmk)
(auctex-latexmk-setup)
(setq auctex-latexmk-inherit-TeX-PDF-mode t))
#+end_src
Custom functions
#+begin_src emacs-lisp
(defun try/TeX-command-save-buffer-and-run-all ()
"Save the buffer and run TeX-command-run-all"
(interactive)
(let (TeX-save-query) (TeX-save-document (TeX-master-file)))
(TeX-command-run-all nil))
;; copied ivy-bibtex and modified it to cite action
(defun try/ivy-bibtex-cite (&optional arg local-bib)
"Search BibTeX entries using ivy.
With a prefix ARG the cache is invalidated and the bibliography
reread.
If LOCAL-BIB is non-nil, display that the BibTeX entries are read
from the local bibliography. This is set internally by
`ivy-bibtex-with-local-bibliography'."
(interactive "P")
(when arg
(bibtex-completion-clear-cache))
(bibtex-completion-init)
(let* ((candidates (bibtex-completion-candidates))
(key (bibtex-completion-key-at-point))
(preselect (and key
(cl-position-if (lambda (cand)
(member (cons "=key=" key)
(cdr cand)))
candidates))))
(ivy-read (format "Insert citation %s: " (if local-bib " (local)" ""))
candidates
:preselect preselect
:caller 'ivy-bibtex
:history 'ivy-bibtex-history
:action 'ivy-bibtex-insert-citation)))
(defun try/latex-mode-setup ()
(require 'company-reftex)
(turn-on-reftex)
(require 'company-auctex)
(require 'company-math)
(setq-local company-backends
(append '(
(company-reftex-labels
company-reftex-citations)
(company-math-symbols-unicode company-math-symbols-latex company-latex-commands)
(company-auctex-macros company-auctex-symbols company-auctex-environments)
company-ispell
)
company-backends)))
(defun try/counsel-insert-file-path ()
"Insert relative file path using counsel minibuffer"
(interactive)
(unless (featurep 'counsel) (require 'counsel))
(ivy-read "Insert filename: " 'read-file-name-internal
:matcher #'counsel--find-file-matcher
:action
(lambda (x)
(insert (file-relative-name x)))))
#+end_src
Folding
#+begin_src emacs-lisp
(use-package outshine
:config
(setq LaTeX-section-list '(
("part" 0)
("chapter" 1)
("section" 2)
("subsection" 3)
("subsubsection" 4)
("paragraph" 5)
("subparagraph" 6)
("begin" 7)
)
)
(add-hook 'LaTeX-mode-hook #'(lambda ()
(outshine-mode 1)
(setq outline-level #'LaTeX-outline-level)
(setq outline-regexp (LaTeX-outline-regexp t))
(setq outline-heading-alist
(mapcar (lambda (x)
(cons (concat "\\" (nth 0 x)) (nth 1 x)))
LaTeX-section-list))))
)
(general-define-key
:states '(normal visual)
:keymaps 'LaTeX-mode-map
"TAB" '(outshine-cycle :which-key "outshine-cycle")
)
#+end_src
ivy bibtex
#+begin_src emacs-lisp
(use-package ivy-bibtex
:custom
(bibtex-completion-bibliography
'("~/Documents/refs.bib"))
(bibtex-completion-library-path '("~/papers"))
(bibtex-completion-cite-prompt-for-optional-arguments nil)
(bibtex-completion-cite-default-as-initial-input t)
)
#+end_src
*** Verilog
#+begin_src emacs-lisp
(setq verilog-linter "verilator --lint-only")
#+end_src
* Misc * Misc
** Restart Emacs ** Restart Emacs
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -1548,7 +1776,6 @@ Better Diff in header sizes
#+end_src #+end_src
* IRC * IRC
** unsused 'erc' ** unsused 'erc'
#+begin_src emacs-lisp :tangle no #+begin_src emacs-lisp :tangle no
@ -1655,7 +1882,6 @@ a
#+end_src #+end_src
* Startpage * Startpage
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package dashboard (use-package dashboard

View File

@ -1,7 +1,9 @@
# Beware! This file is rewritten by htop when settings are changed in the interface. # Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly. # The parser is also very primitive, and not human-friendly.
htop_version=3.1.2
config_reader_min_version=2
fields=0 48 17 18 38 39 40 2 46 47 49 1 fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=49 sort_key=46
sort_direction=-1 sort_direction=-1
tree_sort_key=46 tree_sort_key=46
tree_sort_direction=1 tree_sort_direction=1
@ -11,15 +13,17 @@ shadow_other_users=0
show_thread_names=0 show_thread_names=0
show_program_path=0 show_program_path=0
highlight_base_name=1 highlight_base_name=1
highlight_deleted_exe=1
highlight_megabytes=1 highlight_megabytes=1
highlight_threads=1 highlight_threads=1
highlight_changes=0 highlight_changes=0
highlight_changes_delay_secs=5 highlight_changes_delay_secs=5
find_comm_in_cmdline=1 find_comm_in_cmdline=1
strip_exe_from_cmdline=1 strip_exe_from_cmdline=1
show_merged_command=0 show_merged_command=1
tree_view=0 tree_view=0
tree_view_always_by_pid=0 tree_view_always_by_pid=0
all_branches_collapsed=0
header_margin=1 header_margin=1
detailed_cpu_time=0 detailed_cpu_time=0
cpu_count_from_one=1 cpu_count_from_one=1
@ -32,8 +36,9 @@ account_guest_in_cpu_meter=0
color_scheme=0 color_scheme=0
enable_mouse=1 enable_mouse=1
delay=20 delay=20
left_meters=LeftCPUs2 CPU Battery Blank Blank Blank Memory NetworkIO DiskIO
left_meter_modes=1 1 1 2 2 2 3 4 4
right_meters=RightCPUs2 Memory Swap Blank Blank Blank LoadAverage Uptime Tasks
right_meter_modes=1 1 1 2 2 2 3 4 4
hide_function_bar=0 hide_function_bar=0
header_layout=two_50_50
column_meters_0=LeftCPUs2 CPU Battery Blank Blank Blank Memory NetworkIO DiskIO
column_meter_modes_0=1 1 1 2 2 2 3 4 4
column_meters_1=RightCPUs2 Memory Swap Blank Blank Blank LoadAverage Uptime Tasks
column_meter_modes_1=1 1 1 2 2 2 3 4 4

View File

@ -95,11 +95,15 @@ element {
} }
element-icon { element-icon {
background-color: @al;
text-color: inherit;
size: 24px; size: 24px;
border: 0px; border: 0px;
} }
element-text { element-text {
background-color: @al;
text-color: inherit;
expand: true; expand: true;
horizontal-align: 0; horizontal-align: 0;
vertical-align: 0.5; vertical-align: 0.5;

View File

@ -103,11 +103,15 @@ element {
} }
element-icon { element-icon {
background-color: @al;
text-color: inherit;
size: 24px; size: 24px;
border: 0px; border: 0px;
} }
element-text { element-text {
background-color: @al;
text-color: inherit;
expand: true; expand: true;
horizontal-align: 0; horizontal-align: 0;
vertical-align: 0.5; vertical-align: 0.5;

View File

@ -452,7 +452,6 @@ map ) jump_non
map gh cd ~ map gh cd ~
map ge cd /etc map ge cd /etc
map gu cd /usr map gu cd /usr
map gd open_with dragon-drag-and-drop -a -x
map gl cd -r . map gl cd -r .
map gL cd -r %f map gL cd -r %f
map go cd /opt map go cd /opt
@ -468,6 +467,12 @@ map gR eval fm.cd(ranger.RANGERDIR)
map g/ cd / map g/ cd /
map g? cd /usr/share/doc/ranger map g? cd /usr/share/doc/ranger
# Custom Commands
map gd open_with dragon-drag-and-drop -a -x
# clean latex files
map dlc shell latexmk -c
map dlC shell latexmk -C
# External Programs # External Programs
map E edit map E edit
map du shell -p du --max-depth=1 -h --apparent-size map du shell -p du --max-depth=1 -h --apparent-size

View File

@ -177,7 +177,7 @@ super + {_, shift +, ctrl + }{i,u}
# focus the last node/desktop # focus the last node/desktop
super + {grave,Tab} super + {grave,Tab}
bspc {node,desktop} -f last bspc {node -f last.local ,desktop -f last}
# focus the older or newer node in the focus history # focus the older or newer node in the focus history
#super + {o,i} #super + {o,i}

View File

@ -43,5 +43,6 @@ set render-loading-fg "#eff0eb" # fg " from SNAZZY
set recolor-lightcolor "#282828" # bg set recolor-lightcolor "#282828" # bg
set recolor-darkcolor "#ebdbb2" # fg set recolor-darkcolor "#ebdbb2" # fg
set recolor-darkcolor "#eff0eb" # fg " from SNAZZY set recolor-darkcolor "#eff0eb" # fg " from SNAZZY
set recolor "true" #dark mode as default
#set recolor "true"
set recolor-keephue true # keep original color set recolor-keephue true # keep original color

View File

@ -16,9 +16,11 @@ map p print
set recolor-keephue true set recolor-keephue true
# gruvbox
#set recolor-lightcolor \#2B2A27 #set recolor-lightcolor \#2B2A27
#set recolor-darkcolor \#f1f1f0 #set recolor-darkcolor \#f1f1f0
# snazzy
#set recolor-darkcolor \#ffffff #set recolor-darkcolor \#ffffff
#set recolor-lightcolor \#282a36 #set recolor-lightcolor \#282a36
#set default-bg \#282a36 #set default-bg \#282a36

View File

@ -158,6 +158,9 @@ curl_cache(){
cat "$cache_path" cat "$cache_path"
} }
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../'
alias doas='sudo ' alias doas='sudo '
@ -173,6 +176,7 @@ alias sl='ls -CF'
alias ls='ls --color=auto' alias ls='ls --color=auto'
alias please='sudo $(fc -ln -1)' alias please='sudo $(fc -ln -1)'
alias plz='echo sudo $(fc -ln -1); sudo $(fc -ln -1)'
alias p='paru' alias p='paru'