-
somehow all my xontribs vanished and now i am getting the below complaints from xonsh
wondering if i can build a xsh script to install all the xontribs automatically. will come handy in my future fresh installations. lst = ['avox', 'autoxsh', 'back2dir', 'broot', 'distributed', 'gitinfo', 'hist_navigator', 'histcpy', 'kitty', 'mpl', 'onepath', 'output_search', 'powerline3', 'prompt_vi_mode', 'readable-traceback', 'sh', 'ssh_agent', 'up', 'vox_tabcomplete', 'xlsd', 'z'] for x in lst: note code suggestion by chatgpt however, this is not working. can you suggest me a way to do this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
as always, read other Q&A. took your advise to read cheatsheat and it worked. install_xontrib.xsh`list = ['argcomplete', 'avox', 'autoxsh', 'back2dir', 'broot', 'distributed', 'gitinfo', 'hist_navigator', 'histcpy', 'kitty', 'mpl', 'onepath', 'output_search', 'powerline3', 'prompt_vi_mode', 'readable-traceback', 'sh', 'ssh_agent', 'up', 'vox_tabcomplete', 'xlsd', 'z'] for item in list: $source install_xonstrib.xsh thanks a lot |
Beta Was this translation helpful? Give feedback.
as always, read other Q&A. took your advise to read cheatsheat and it worked.
install_xontrib.xsh
`list = ['argcomplete', 'avox', 'autoxsh', 'back2dir', 'broot', 'distributed', 'gitinfo', 'hist_navigator', 'histcpy', 'kitty', 'mpl', 'onepath', 'output_search', 'powerline3', 'prompt_vi_mode', 'readable-traceback', 'sh', 'ssh_agent', 'up', 'vox_tabcomplete', 'xlsd', 'z']
for item in list:
item = "xontrib-"+item
xpip install @(item)`
$source install_xonstrib.xsh
thanks a lot