aboutsummaryrefslogtreecommitdiff
path: root/config/zsh
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-11-13 19:05:18 +0100
committerCharles Cabergs <me@cacharle.xyz>2021-11-13 19:05:18 +0100
commit85d2b504164eac4d07a449df7c3f112c89f31473 (patch)
tree10463f2ed734fa979347f5377f54b0e8061210d7 /config/zsh
parenta06614e72ffc6b8c8fe6741f4546756ee660d4d6 (diff)
downloaddotfiles-85d2b504164eac4d07a449df7c3f112c89f31473.tar.gz
dotfiles-85d2b504164eac4d07a449df7c3f112c89f31473.tar.bz2
dotfiles-85d2b504164eac4d07a449df7c3f112c89f31473.zip
Updated alacritty for macos
Diffstat (limited to 'config/zsh')
-rw-r--r--config/zsh/.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc
index 5255fa7..92c55c5 100644
--- a/config/zsh/.zshrc
+++ b/config/zsh/.zshrc
@@ -62,7 +62,7 @@ chpwd() {
content="$(find . -maxdepth 1 | wc -l)"
([ "$content" -lt 20 ] && ls -l) ||
echo "$(pwd) contains $content entries"
- [ "$(stat -c "%U" .)" = "$USER" ] && touch . # to sort by last cd
+ [ "$(uname)" = 'Linux' ] && [ "$(stat -c "%U" .)" = "$USER" ] && touch . # to sort by last cd
}
# https://wiki.archlinux.org/title/Zsh#Shortcut_to_exit_shell_on_partial_command_line