forked from p15670423/monkey
Add startup files for fish, zsh, dash, ksh, sh, csh, tcsh
This commit is contained in:
parent
0c60ad16ae
commit
e5f92d29b5
|
@ -1,4 +1,12 @@
|
|||
BASH_STARTUP_FILES = ["~/.bashrc", "~/.profile", "~/.bash_profile"]
|
||||
STARTUP_FILES = [
|
||||
"~/.profile", # bash, dash, ksh, sh
|
||||
"~/.bashrc", "~/.bash_profile", # bash
|
||||
"~/.config/fish/config.fish", # fish
|
||||
"~/.zshrc", "~/.zshenv", "~/.zprofile", # zsh
|
||||
"~/.kshrc", # ksh
|
||||
"~/.tcshrc", # tcsh
|
||||
"~/.cshrc", # csh
|
||||
]
|
||||
|
||||
|
||||
def get_linux_commands_to_modify_shell_startup_files():
|
||||
|
@ -10,4 +18,4 @@ def get_linux_commands_to_modify_shell_startup_files():
|
|||
'&&',
|
||||
'sed -i \'$d\' {0}', # remove last line of file
|
||||
],\
|
||||
BASH_STARTUP_FILES
|
||||
STARTUP_FILES
|
||||
|
|
Loading…
Reference in New Issue