This website works better with JavaScript.
Home
Explore
Help
Sign In
10sr
/
dotfiles-mirror
mirror of
https://github.com/10sr/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
show ipaddress even when DISPLAY is not empty
pull/1/head
10sr
12 years ago
parent
21b818f09c
commit
de82f19ccd
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
bashrc
+ 1
- 1
bashrc
View File
@@ -588,7 +588,7 @@ __my_ps1_git(){
}
}
__my_ps1_ipaddr(){
__my_ps1_ipaddr(){
local last=$?
local last=$?
test -z "$DISPLAY" &&
! iswindows && ip-address [Addr:%s]
! iswindows && ip-address [Addr:%s]
return $last
return $last
}
}
__my_ps1_bttry(){
__my_ps1_bttry(){
Write
Preview
Loading…
Cancel
Save