From 99efa4c96363f39f965ec5dc77a85aea1ff3e559 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sven=20M=C3=A4der?= <maeder@phys.ethz.ch>
Date: Thu, 16 Jan 2025 13:37:54 +0100
Subject: [PATCH] Add and sync aliases

---
 profile/default/envrcd.d/20-aliases | 3 +++
 profile/rda/envrcd.d/20-aliases     | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/profile/default/envrcd.d/20-aliases b/profile/default/envrcd.d/20-aliases
index 53c40c5..ca3f73f 100644
--- a/profile/default/envrcd.d/20-aliases
+++ b/profile/default/envrcd.d/20-aliases
@@ -30,6 +30,7 @@ alias lat='ls -hlAFtr'
 alias las='ls -hlASr'
 alias snk='ssh -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null'
 alias snc='ssh -o ControlMaster=no -o ControlPath=none'
+alias snp='snk -o ControlMaster=no -o ControlPath=none -o PubkeyAuthentication=no -o PreferredAuthentications=password'
 alias ldapsearch='ldapsearch -o ldif-wrap=no'
 alias lds='ldapsearch -xZZ'
 alias ccze='ccze -A -o nolookups'
@@ -52,8 +53,10 @@ alias gitla='git adog'
 alias gitlv='git adogv'
 alias gg='git grep -i'
 alias g='grep -iE'
+alias gl='grep -iE --line-buffered'
 alias gr='grep -RiE --exclude-dir=\.git'
 alias rg='rg -S --colors "line:fg:yellow" --colors "path:fg:green"'
+alias rgl='rg --line-buffered'
 alias trea='tree -a -I ".git"'
 alias treea='trea'
 alias tree='tree -I ".git"'
diff --git a/profile/rda/envrcd.d/20-aliases b/profile/rda/envrcd.d/20-aliases
index e5a5350..940f5e4 100644
--- a/profile/rda/envrcd.d/20-aliases
+++ b/profile/rda/envrcd.d/20-aliases
@@ -34,6 +34,7 @@ alias las='ls -hlASr'
 alias s='ssh'
 alias snk='ssh -o StrictHostKeyChecking=no -o GlobalKnownHostsFile=/dev/null -o UserKnownHostsFile=/dev/null'
 alias snc='ssh -o ControlMaster=no -o ControlPath=none'
+alias snp='snk -o ControlMaster=no -o ControlPath=none -o PubkeyAuthentication=no -o PreferredAuthentications=password'
 alias sr='ssh -J rda.ethz.ch'
 alias shci='ssh -J phd-jump-hci.ethz.ch'
 alias shit='ssh -J phd-jump-hit.ethz.ch'
@@ -68,8 +69,10 @@ alias gitla='git adog'
 alias gitlv='git adogv'
 alias gg='git grep -i'
 alias g='grep -iE'
+alias gl='grep -iE --line-buffered'
 alias gr='grep -RiE --exclude-dir=\.git'
 alias rg='rg -S --colors "line:fg:yellow" --colors "path:fg:green"'
+alias rgl='rg --line-buffered'
 alias trea='tree -a -I ".git"'
 alias treea='trea'
 alias tree='tree -I ".git"'
-- 
GitLab