holzschu / holzschu/a-shell

Inconsistent and unexpected cd behaviour

Open
#389 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

The cd command is inconsistent with normal shell semantics:

$ cd
$ pwd
~/Documents
$ cd ~
$ pwd
~
$ cd $HOME
$ pwd
~

All three should result in the same pwd result.

Also, and this should perhaps be a separate issue, the fact that dot files live in ~/Documents, e.g., ~/Documents/.ssh, and not in ~/ directly means that scripts and configs that I would normally share between hosts will have to have special logic for a-shell.

For example, in .ssh/config, I have to refer to IdentityFile entries as ~/Documents/.ssh/fileName, and not as ~/.ssh/fileName.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.