diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-05-17 17:42:12 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-05-17 17:42:12 +0300 |
commit | e53a7d928babf47f984d891e5635cc3f4d675ae3 (patch) | |
tree | 31136061a1ead63e8a8ea4d5bca429cfafe00aba /dotfiles/.config/zsh | |
parent | 58c316e56d7228e203a525726b1517acf07df17a (diff) | |
download | swayrice-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/shortcuts | 1 |
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";} |