aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/zsh
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-05-17 17:42:12 +0300
committerYaroslav <contact@yaroslavps.com>2020-05-17 17:42:12 +0300
commite53a7d928babf47f984d891e5635cc3f4d675ae3 (patch)
tree31136061a1ead63e8a8ea4d5bca429cfafe00aba /dotfiles/.config/zsh
parent58c316e56d7228e203a525726b1517acf07df17a (diff)
downloadswayrice-e53a7d928babf47f984d891e5635cc3f4d675ae3.tar.gz
swayrice-e53a7d928babf47f984d891e5635cc3f4d675ae3.zip
alias to display translation on pager by default
Diffstat (limited to 'dotfiles/.config/zsh')
-rw-r--r--dotfiles/.config/zsh/shortcuts1
1 files changed, 1 insertions, 0 deletions
diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts
index 5b156b3..336d7bc 100644
--- a/dotfiles/.config/zsh/shortcuts
+++ b/dotfiles/.config/zsh/shortcuts
@@ -7,6 +7,7 @@ alias eslint="./node_modules/.bin/eslint"
alias ls="ls -hN --color=auto --group-directories-first"
alias tmux="tmux -f $HOME/.config/tmux/tmux.conf"
alias units="units -H ''"
+alias trans="trans -v -pager='less -R'"
weath() { curl wttr.in/$1 ;} # Check the weather (give city or leave blank).
corona() { curl -s https://corona-stats.online/$1 ;} # It's corona time
wintitle() { printf "\033]2;%s\a" "$1";}