config: cd adjustments
This commit is contained in:
parent
436b637bf6
commit
3ac77c3e6f
|
@ -96,6 +96,7 @@
|
||||||
(setq org-image-actual-width nil)
|
(setq org-image-actual-width nil)
|
||||||
|
|
||||||
; Exporting - https://orgmode.org/manual/Export-Settings.html
|
; Exporting - https://orgmode.org/manual/Export-Settings.html
|
||||||
|
(setq org-latex-pdf-export "latexmk -outdir=/tmp/latexmk -f -pdf %F; mv %f /tmp/latexmk; mv /tmp/latexmk/%b.pdf %o")
|
||||||
(setq org-latex-packages-alist '(("margin=3cm" "geometry") ("avoid-all" "widows-and-orphans")))
|
(setq org-latex-packages-alist '(("margin=3cm" "geometry") ("avoid-all" "widows-and-orphans")))
|
||||||
(setq org-export-with-sub-superscripts nil)
|
(setq org-export-with-sub-superscripts nil)
|
||||||
(setq org-export-with-tags nil)
|
(setq org-export-with-tags nil)
|
||||||
|
|
|
@ -75,7 +75,11 @@ edbin() {
|
||||||
}
|
}
|
||||||
|
|
||||||
alias l="ls -l --almost-all --human-readable --group-directories-first --file-type"
|
alias l="ls -l --almost-all --human-readable --group-directories-first --file-type"
|
||||||
cd() { builtin cd "$@" && command ls --file-type --group-directories-first --color=always --format=vertical -w $COLUMNS | head -3 }
|
cd() {
|
||||||
|
test ! -e "$1" && test $# -eq 1 && cd $DATA/$1* && return
|
||||||
|
builtin cd "$1" &&
|
||||||
|
command ls --file-type --group-directories-first --color=always --format=vertical -w $COLUMNS | head -3
|
||||||
|
}
|
||||||
|
|
||||||
swap() {
|
swap() {
|
||||||
mv -n $1 $1.tmp
|
mv -n $1 $1.tmp
|
||||||
|
|
Loading…
Reference in New Issue