Fingerterm terminal defaults to / as current working directory [duplicate]
The built-in terminal emulator (fingerterm) spawns a shell in /
(the root directory) by default. Spawning it in /home/nemo
seems like it'd be more useful to me (easy access to interact with local media/config files/whatnot). Sure, it's just a minor annoyance, but my muscle memory would be thankful if the default PWD was changed.
Wouldnt that be possible through some kind of .profile or liky?
Swl ( 2013-12-25 19:45:24 +0200 )editYou'd think so, but neither things in
FireFly ( 2013-12-25 19:50:01 +0200 )edit.profile
or.bashrc
seem to be run on fingerterm startup, which is odd since evidently it starts bash (going by $SHELL) and runs an interactive shell...Never assume anything is logical. ;)
Swl ( 2013-12-25 20:00:00 +0200 )editAgreed, .bash_profile nor .bashrc get executed when opening fingerterm. However, when you ssh in, .bash_profile is executed.
gabriel ( 2013-12-29 15:32:34 +0200 )editLooks like this has the answer: https://together.jolla.com/question/5561/make-fingertermbash-startup-execute-standard-profilebashrc-scripts/
mdengler ( 2014-01-11 05:08:28 +0200 )edit