wit-network-config/files/bashrc-witaddon

9 lines
150 B
Plaintext
Executable File

PROMPT_COMMAND='export VRF=$(ip vrf identify $$)'
PS1=$PS1'[${VRF:=default}] '
function chvrf() {
ip vrf exec $1 /bin/bash
}
alias ll='ls -lha'