2 ms·
function cdf { cd `dirname $1` } From my .zsrhc. This only does the file use case, it doesn't work for directories. Probably easy enough to add
by mpweiher 4y ago
function cdf {
cd `dirname $1`
}
From my .zsrhc. This only does the file use case, it doesn't work for directories. Probably easy enough to add.
- j1elo 4y agoOur dot files are always growing with small helpful bits like this one :) Thanks for the idea!