Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes from work laptop #536

Merged
merged 3 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions emacs/radian.el
Original file line number Diff line number Diff line change
Expand Up @@ -5169,6 +5169,12 @@ spam. This advice, however, inhibits the message for everyone.")
(let ((kill-emacs-hook nil))
(kill-emacs)))

;; Get rid of `restart-emacs' builtin because until we no longer
;; support Emacs 27 it is easier to have a single implementation
;; rather than one that has a different calling convention depending
;; on Emacs version.
(fmakunbound 'restart-emacs)

;; Package `restart-emacs' provides an easy way to restart Emacs from
;; inside of Emacs, both in the terminal and in windowed mode.
(radian-use-package restart-emacs
Expand Down
3 changes: 3 additions & 0 deletions git/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
# of the screen if the pager doesn't get invoked for each one.
# See <https://stackoverflow.com/a/12352224/3538165>.
pager = less -+F
# https://github.blog/2022-06-29-improve-git-monorepo-performance-with-a-file-system-monitor/
fsmonitor = true
untrackedcache = true
[credential]
helper =
helper = cache --timeout 86400
Expand Down
10 changes: 8 additions & 2 deletions shell/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -294,11 +294,17 @@ alias ds='dirs -v | head -10'

#### ls, exa

if (( $+commands[exa] )); then
if (( $+commands[eza] )) || (( $+commands[exa] )); then

if ! (( $+commands[exa] )); then
function exa {
eza $@
}
fi

function l {
emulate -LR zsh
exa --all --header --long --color-scale $@
exa --all --header --long --color-scale=all $@
}

function lg {
Expand Down
Loading