mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fix
This commit is contained in:
parent
3c8e2f60b0
commit
9916032c7a
185 changed files with 4014 additions and 7755 deletions
11
mc/patches/010-subshell.patch
Normal file
11
mc/patches/010-subshell.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
-- a/src/subshell/common.c
|
||||
+++ b/src/subshell/common.c
|
||||
@@ -836,7 +836,7 @@ init_subshell_precmd (char *precmd, size
|
||||
"else "
|
||||
"[ \"${PWD##$HOME/}\" = \"$PWD\" ] && MC_PWD=\"$PWD\" || MC_PWD=\"~/${PWD##$HOME/}\"; "
|
||||
"fi; "
|
||||
- "echo \"$USER@$(hostname -s):$MC_PWD\"; "
|
||||
+ "echo \"$USER@$HOSTNAME:$MC_PWD\"; "
|
||||
"pwd>&%d; "
|
||||
"kill -STOP $$; "
|
||||
"}; " "PRECMD=precmd; " "PS1='$($PRECMD)$ '\n", subshell_pipe[WRITE]);
|
Loading…
Add table
Add a link
Reference in a new issue