This website requires JavaScript.
Explore
Help
Sign In
env
/
dotfiles
Watch
1
Star
0
Fork
0
mirror of
https://github.com/prdlk/dotfiles.git
synced
2026-11-02 19:32:43 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
12c9c568d705d22a4e7b34286d677c4400acac7f
dotfiles
/
dot_config
/
bash
/
functions
/
c.bash
T
8 lines
120 B
Bash
Raw
Normal View
History
Unescape
Escape
shell: fish functions -> ~/.local/bin executables + bash/zsh ports; manage ~/.agents
2026-08-10 15:15:06 -04:00
# c: clear with no args, cd with one.
c
()
{
if
[
-z
"
${
1
-
}
"
]
;
then
clear
else
cd
"
$1
"
fi
}
Reference in new issue
Copy Permalink