Skip to content
Merged
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
5 changes: 4 additions & 1 deletion .config/zsh/zshrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# directory fullpath of this file
FILE_DIR="$(cd "$(dirname "${(%):-%N}")" && pwd)"
# Use zsh's built in path expansion to resolve the directory that
# contains this file. This avoids relying on `cd` and `dirname`, which
# can misbehave in some environments such as VSCode.
FILE_DIR="${${(%):-%N}:A:h}"

alias ls="ls -hlp --color"
alias lsa="ls -a"
Expand Down