Add options for ls #123

Closed
opened 2020-03-31 11:40:27 +02:00 by FWDekker · 1 comment
Owner

The ls command should have the options -a and -l (properly) implemented. This means the following.

  • Without the -a option, the directories ./ and ../ should not be displayed.
  • Without the -l option, files are displayed sequentially, similar to how suggestions are currently displayed.
  • Change the default command on directory change from ls to ls -la.
The `ls` command should have the options `-a` and `-l` (properly) implemented. This means the following. * Without the `-a` option, the directories `./` and `../` should not be displayed. * Without the `-l` option, files are displayed sequentially, similar to how suggestions are currently displayed. * Change the default command on directory change from `ls` to `ls -la`.
FWDekker added the
enhancement
label 2020-03-31 11:40:27 +02:00
FWDekker self-assigned this 2020-03-31 11:40:27 +02:00
Author
Owner

The -a option remains unchanged w.r.t. before this PR. That is, the files . and .. are always displayed (because of user-friendliness), but hidden files are only shown given this option. The -l option is implemented as desired.

The `-a` option remains unchanged w.r.t. before this PR. That is, the files `.` and `..` are always displayed (because of user-friendliness), but hidden files are only shown given this option. The `-l` option is implemented as desired.
Sign in to join this conversation.
No description provided.