From ebfb2543915ad4cb088aaef13343f59fa8851ce3 Mon Sep 17 00:00:00 2001 From: jomido Date: Sat, 18 Jan 2020 08:08:44 -0600 Subject: [PATCH] Added statement so cd will only tab complete dir names --- bash/.bashrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bash/.bashrc b/bash/.bashrc index 95e6535..72ee9ab 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -24,9 +24,13 @@ alias l='ls -lh --color --time-style=long' alias ll='ls -lah --color --time-style=long' alias lsd='l -d */' alias p='ping' -alias s='sudo' alias dmesg='dmesg -H' alias ip='ip -c' +#alias s='sudo $(history -p !!)' +alias s='sudo' + +# make tab after cd only complete using dir names +complete -d cd #golang stuff export GOPATH=$HOME/gopath