Skip to content

Commit

Permalink
Guard cs against paths with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman authored May 19, 2024
1 parent 327680d commit 5883632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/assets/dotfiles/.bashrc-asrob
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## cd + ls, by @jgvictores
function cs () { cd $1; ls; }
function cs () { cd ${1:+"$1"}; ls; }

## transfer path: guarda el path actual en un fichero oculto, by @jgvictores
function tp () { pwd > ~/.sp; }
Expand Down

0 comments on commit 5883632

Please sign in to comment.