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
commitd6d3eed6e38aa98fa9869dc62e07ec5e026ad17b (patch)
treecd24a4cbe6c5837f58fcda441856c2e34f34da53
parent3133e93d05fe47fe2778ec2000f4d445f33a9758 (diff)
downloaddotfiles-d6d3eed6e38aa98fa9869dc62e07ec5e026ad17b.tar
dotfiles-d6d3eed6e38aa98fa9869dc62e07ec5e026ad17b.tar.zst
dotfiles-d6d3eed6e38aa98fa9869dc62e07ec5e026ad17b.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)