summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-11-20 14:56:37 +0100
committerxengineering <me@xengineering.eu>2022-11-20 14:56:37 +0100
commite235c31c292bc78e430c3b0d4d6cbaab9be5c435 (patch)
treecd24a4cbe6c5837f58fcda441856c2e34f34da53
parent52effb2e7bbcde69a3a4685996d2ea4bab788e40 (diff)
downloaddotfiles-e235c31c292bc78e430c3b0d4d6cbaab9be5c435.tar
dotfiles-e235c31c292bc78e430c3b0d4d6cbaab9be5c435.tar.zst
dotfiles-e235c31c292bc78e430c3b0d4d6cbaab9be5c435.zip
Add nolink alias to .bashrc
This converts the current working directory to a version with fully resolved symlinks.
-rw-r--r--.bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 058be86..b1740d0 100644
--- a/.bashrc
+++ b/.bashrc
@@ -38,6 +38,7 @@ fi
function my_xdg_open() { nohup xdg-open "$1" > /dev/null 2>&1 & }
alias open=my_xdg_open
alias note='"${EDITOR}" "$(mktemp)"'
+alias nolink='cd $(pwd -P)'
# extend PATH by custom scripts (location based on XDG)