Update home/modules/fish/default.nix
This commit is contained in:
parent
fe974bd031
commit
dcb52dc070
1 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,8 @@
|
|||
echo "---"
|
||||
end
|
||||
'';
|
||||
localip = " ifconfig | grep "inet " | grep -v 127.0.0.1 | awk '{print $2}' | head -n 1";
|
||||
publicip = "curl -4 ifconfig.me";
|
||||
};
|
||||
|
||||
interactiveShellInit = ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue