]> git.huck.website - zsh.git/commitdiff
fixed: pwd on change dir
authorHuck Boles <huck@huck.website>
Mon, 12 Jun 2023 01:13:32 +0000 (20:13 -0500)
committerHuck Boles <huck@huck.website>
Mon, 12 Jun 2023 01:13:32 +0000 (20:13 -0500)
include/aliases.zsh
include/functions.zsh

index 6a6c44a1a03043ed1d361398259aeab3012ab57a..eff28ca6a12f52a730d8e1d64aa99ad55cb281f1 100644 (file)
@@ -25,8 +25,6 @@ alias j='jobs -l'
 alias c='clear'
 alias zc='cd;clear'
 
-alias cd='z '
-
 alias dust='dust -rb'
 alias xz='xz -v -T0 -9 -M64G'
 alias make='make CFLAGS="-march=sandybridge -O2 -pipe" -j48 -l30'
index 2d8a789db4af158585f5730a156485d0f030cc4f..c68c4fbb7b5220e7995a4b4623de0d80c4737125 100644 (file)
@@ -1,5 +1,12 @@
 #!/bin/bash
 
+# cd + ls wrapper
+
+cd() {
+    z $1
+    ls
+}
+
 # easy find files
 f() {
     find . | grep "$1";