Imported from prdlk/dotfiles master (efdd827), which supersedes the omarchy branch (3031416). Drops the Umbriel, Noctalia, niri, CachyOS, macOS, and Blume docs-site layers; docs/ is plain Markdown.
9 lines
120 B
Bash
9 lines
120 B
Bash
# c: clear with no args, cd with one.
|
|
c() {
|
|
if [ -z "${1-}" ]; then
|
|
clear
|
|
else
|
|
cd "$1"
|
|
fi
|
|
}
|