diff options
-rw-r--r-- | alias | 7 | ||||
-rw-r--r-- | misc/vconsole.conf | 2 | ||||
-rwxr-xr-x | profile (renamed from profile.sh) | 0 |
3 files changed, 8 insertions, 1 deletions
@@ -564,3 +564,10 @@ vvv() { | |||
564 | echo "restarting vim..."; | 564 | echo "restarting vim..."; |
565 | done | 565 | done |
566 | } | 566 | } |
567 | |||
568 | ip.neigh() { | ||
569 | INTERFACES=$(ifconfig | sed -nE 's/^([^ :]+).*$/\1/p') | ||
570 | test -z "$1" && echo $INTERFACES && return 0 | ||
571 | |||
572 | ifconfig | sed -nE "/^${1}/,/^$/ s/^ +inet ([0-9.]+) .*$/\1/p" | ||
573 | } | ||
diff --git a/misc/vconsole.conf b/misc/vconsole.conf index cc8f224..8a1e7e7 100644 --- a/misc/vconsole.conf +++ b/misc/vconsole.conf | |||
@@ -1,2 +1,2 @@ | |||
1 | KEYMAP=/home/pham/helper/misc/keymap | 1 | KEYMAP=/usr/share/kbd/keymaps/i386/qwerty/us.map |
2 | FONT=ter-218b | 2 | FONT=ter-218b |