dotfiles/home/zsh/files/functions.zsh

14 lines
235 B
Bash

function push() {
git add -A
if [ -z "$*" ]; then
git commit -m "$(date)"
else
git commit -m "$*"
fi
git push
}
function run() {
NIXPKGS_ALLOW_UNFREE=1 nix run --impure "nixpkgs#$1" -- "${@:2}"
}