linux - After I deleted a directory, it always prompts "shell-init error retrieving current directory getcwd solve" when log on bash -


i know changing existing directory may solve problem. thing deleted was not home directory. deleted directory /home/desktop/zeno, created root, , $home variable /home/zeno. took @ ~/.bashrc, ~/.profile , /etc/profile, found no commands asking initialize bash @ /home/desktop/zeno. should examined next? appreciated.

when opening new shell or xterm, it's started in working directory of process started it.

if e.g. cd /proc && xterm, new terminal place in /proc.

whatever's starting terminal had positioned in /home/desktop/zeno, , terminals trying start there. if make process change directory (by rebooting, example), terminals start in directory exists , no longer error.


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -