aboutsummaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2018-05-28 09:02:00 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2018-05-28 09:02:00 +0200
commit196c405df75897c03eed417f029df71e0cb39ad8 (patch)
tree961891148ac4f7c3c2351f532cf6331484e5cbf2 /bashrc
parent5770cd20e012043590689286ac1d584f757e2627 (diff)
downloaddotfiles-196c405df75897c03eed417f029df71e0cb39ad8.tar.gz
dotfiles-196c405df75897c03eed417f029df71e0cb39ad8.zip
bash: added aliases for ip command
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 1bbdd4c..2d212d6 100644
--- a/bashrc
+++ b/bashrc
@@ -144,4 +144,8 @@ if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
fi
# Add alias for ssh to update the tty
-alias ssh="gpg-connect-agent updatestartuptty /bye >/dev/null; ssh" \ No newline at end of file
+alias ssh="gpg-connect-agent updatestartuptty /bye >/dev/null; ssh"
+
+# Handy alias for the ip command
+alias ip="ip --color"
+alias ipb="ip --color --brief" \ No newline at end of file