diff options
author | Ben Sima <ben@bsima.me> | 2019-01-07 08:47:06 -0800 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-01-11 11:13:05 -0800 |
commit | 22fdde6d840e408984f22c08424c34e06b594095 (patch) | |
tree | de05e1395f5564d3361cbb3d779955530d7ea220 | |
parent | 25c5d28d15bd95d532f0c3ff27f5e95fdb4e969d (diff) |
Add experimental cd function
-rw-r--r-- | common.nix | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |