aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/aliases.zsh6
1 files changed, 4 insertions, 2 deletions
diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh
index a89d72a..a5afca6 100644
--- a/.zsh.after/aliases.zsh
+++ b/.zsh.after/aliases.zsh
@@ -18,8 +18,6 @@ alias ls='ls --group-directories-first --color=auto'
alias ll="ls -lh"
alias la="ls -a"
alias lal="ls -alhv"
-alias ls='ls --group-directories-first --color=auto'
-alias l='ls'
alias lt='ls -tr'
alias ll='ls -l'
alias llh='ls -lh'
@@ -216,6 +214,10 @@ alias nmdev="sudo nmcli dev"
#SSH
alias ssh.add="ssh-add $HOME/.ssh/id_{rsa,rsa_tu,ed25519,ed25519_aur,ed25519_github}"
alias ssh.new='ssh-keygen -t ed25519 -C "$(whoami)@$(hostname)-$(date -I)"'
+if [ $VENDOR = "apple" ]; then
+ # apple's date is broken
+ alias ssh.new='ssh-keygen -t ed25519 -C "$(whoami)@$(hostname)-$(date +%Y-%m-%d)"'
+fi
alias pool='ssh pool -Y'
alias sshtunnel="ssh -ND 44350 -v -p 46399 dave@frqb.zapto.org" # tunnel through home
alias frqtun="ssh -ND 44350 -v frq"