Post AZxCcbGllztTYe0aQa by louis@emacs.ch
 (DIR) More posts by louis@emacs.ch
 (DIR) Post #AZxCcaExbEquMk9cy8 by nebucatnetzer@swiss-talk.net
       2023-09-20T09:05:52Z
       
       0 likes, 0 repeats
       
       Does someone have a tip on how to configure #Emacs Tramp so that it uses bash when I open #vterm and connect to the remote system? Currently it only opens SH. In addition it should support #NixOS as well. So it probably has to use `/usr/bin/env bash` instead of `/usr/bin/bash`.
       
 (DIR) Post #AZxCcbGllztTYe0aQa by louis@emacs.ch
       2023-09-20T09:15:38Z
       
       0 likes, 0 repeats
       
       @nebucatnetzer You can customize the „vterm-tramp-shells“ and „tramp-default-remote-shell" variables. The latter has the default /bin/sh.
       
 (DIR) Post #AZxNsI53z25AAqDXG4 by nebucatnetzer@swiss-talk.net
       2023-09-20T11:21:45Z
       
       0 likes, 0 repeats
       
       @louis I checked my config again and it looks like I used `add-to-list` incorrectly.Now it is working, unfortunately direnv doesn't seem to work yet.It looks like it doesn't load the configuration in /etc/profile.d/.But that's probably something I can find in the documentation.https://git.2li.ch/Nebucatnetzer/nixos/commit/09623e772196df2763181e1a6d3298a3f675e039