nix/home/scripts/common/bin/scwd

5 lines
110 B
Bash
Executable file

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