Skip to content

Commit

Permalink
Revert "refactor(fish): amend 'c' command"
Browse files Browse the repository at this point in the history
This reverts commit 70f0706.

Previous version was better
  • Loading branch information
rudenkornk committed Sep 14, 2023
1 parent 72eb90d commit d2bafbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions roles/shell_utils/files/fish_functions/c.fish
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
function c --wraps cd
if test "$argv" = "-"
or test "$argv" = ""
popd && exa --classify
else if test "$argv" = ""
cd ~ && exa --classify
else
pushd $argv && exa --classify
end
Expand Down

0 comments on commit d2bafbb

Please sign in to comment.