You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
609 B
28 lines
609 B
word() {
|
|
wordgrinder "$1".wg
|
|
}
|
|
# Convert each typed tab to spaces, Do not automatically hard-wrap the current line, 4 space for tab
|
|
alias n='nano -wET 4'
|
|
g() {
|
|
geany "$1" &
|
|
}
|
|
doc() {
|
|
libreoffice --nologo "$1" &
|
|
}
|
|
pdf() {
|
|
evince "$1" &
|
|
}
|
|
alias ef='$EDITOR'
|
|
alias vf='$VISUAL'
|
|
calias() {
|
|
if [ -f "$_CUSTOM_ENV_PATH${1/.env/}.env" ]; then
|
|
$EDITOR "$_CUSTOM_ENV_PATH${1/.env/}.env"
|
|
elif [ -f "$_ENV_PATH${1/.env/}.env" ]; then
|
|
$EDITOR "$_ENV_PATH${1/.env/}.env"
|
|
elif [ "$1" == "me" ]; then
|
|
$EDITOR "${_ENV_PATH}editors.env"
|
|
else
|
|
cmd
|
|
echo "calias command_name"
|
|
fi
|
|
}
|
|
|