Easily open files and directories in Kate.

This commit is contained in:
Sorin Ionescu 2011-12-28 11:50:21 -05:00
parent b308a94c91
commit cf9c37d2b4

View file

@ -3,6 +3,10 @@ alias kate='kate >/dev/null 2>&1' # Silent start.
# Functions # Functions
function kt() { function kt() {
cd "$1" && kate . if [[ -z "$1" ]]; then
kate .
else
( [[ -d "$1" ]] && cd "$1" && kate . )
fi
} }