Skip to content

Commit

Permalink
Merge pull request #104 from arcticicestudio/feature/gh-100-shortcut-…
Browse files Browse the repository at this point in the history
…alias-for-trash-cli

Shortcut alias for "trash-cli"
  • Loading branch information
arcticicestudio authored Dec 28, 2017
2 parents 13d4ec3 + cdb3492 commit eb5dedb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snowblocks/bash/core/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,6 @@ alias lsm='stat -c "%A %a %N"'
# +-------+
# Alert via notify for long running commands.
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'

# Shortcut for "trash-cli" to move a file into the trash.
alias t='trash'

0 comments on commit eb5dedb

Please sign in to comment.