nix/bin/scwd
2023-09-05 13:52:52 -05:00

4 lines
110 B
Bash
Executable file

#!/usr/bin/env sh
addon=""; [ -n "$1" ] && addon="-${1}"
echo "${PWD}" > "${DOTFILES_PATH}/.cwd${addon}.tmp"