diff --git a/.profile b/.profile index 53111ee6..24d3d4b9 100755 --- a/.profile +++ b/.profile @@ -207,6 +207,15 @@ if has git; then # Show untracked files alias gu='git ls-files . --exclude-standard --others' fi +if has ptgdp; then + song() { + if [ -z "$*" ]; then + echo "song: Requires an argument" + return 1 + fi + echo "$*" | ptgdp + } +fi if has sudo; then case $_baseshell in *bash|*zsh)