summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.nix b/common.nix
index ff58399..2f23e95 100644
--- a/common.nix
+++ b/common.nix
@@ -89,6 +89,9 @@ in
DIR=~/.nix-profile/etc/profile.d
[[ -f "$DIR/nix.sh" ]] && . "$DIR/nix.sh"
[[ -f "$DIR/hm-session-vars.sh" ]] && . "$DIR/hm-session-vars.sh"
+ function cd() {
+ builtin cd "$@" && ls
+ }
'';
shellAliases = {
#z = "fasd_cd -d"; # cd, same functionality as j in autojump