aboutsummaryrefslogtreecommitdiff
path: root/base/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'base/zsh')
-rw-r--r--base/zsh/aliases.zsh1
-rw-r--r--base/zsh/functions.zsh8
2 files changed, 9 insertions, 0 deletions
diff --git a/base/zsh/aliases.zsh b/base/zsh/aliases.zsh
index 21aa55c..4df3813 100644
--- a/base/zsh/aliases.zsh
+++ b/base/zsh/aliases.zsh
@@ -13,6 +13,7 @@ alias duhs="du -sh * | sort -rh"
# Pour les erreurs de clavier
alias exti="exit"
+alias exxit="exit"
alias exir="exit"
alias eit="exit"
diff --git a/base/zsh/functions.zsh b/base/zsh/functions.zsh
index db4271e..18ea8b4 100644
--- a/base/zsh/functions.zsh
+++ b/base/zsh/functions.zsh
@@ -25,3 +25,11 @@ hex() {
if [[ -n "$1" ]]; then printf "%X\n" $1
else print 'Usage: hex <number-to-convert>'; fi
}
+
+trc() {
+ if [[ `uname -n` = "aristotle" ]]; then
+ transmission-remote-client
+ else
+ ssh dhd.ahov.co ssh aristotle transmission-remote-client
+ fi
+}