Skip to content
This repository was archived by the owner on Mar 19, 2022. It is now read-only.

Latest commit

 

History

History
41 lines (34 loc) · 3.24 KB

File metadata and controls

41 lines (34 loc) · 3.24 KB

Day 5

Notes

  • I had already knows that less is more than more. So I navigated around some files using less and its keybindings.

  • I customized my PS1

  • I made a custom fetch script that I had been craving to make ever since I saw fet.sh. Yes I took inspiration (and sometimes copied also) from neofetch and fet.sh.

  • I also spent the day making a color scheme (:banana: :fish:) for alacritty.

  • ma mark a page in less with a to later return to it.

  • 'a goto the page marked with a in less (when viewing the file, which had been marked and the session not closed).

  • g to go to the beginning of the document in less, gg or 1G in vim.

  • I will prefer searching with / over ? though I will have to escape regex meta characters when doing so, example, to search for a line having /home/devpogi, the pattern I will have to enter in less is /\/home\/devpogi.

  • f and b work the same as Ctrl + f and Ctrl + b respectively, so I will stick with f and b for forward and backward one page, in less.

  • v to edit the currently viewing file (in less) in preconfigured text editor (it defaults to nano, but I have to change it to vim).

  • press Ctrl + r again for the next matching result from the history, however, if you accidently pass over the command, you can do Ctrl + s, to go back, however, prssing that might freeze the terminal (like it does in alacritty) and then you will have to press Ctrl + q to unfreeze, or you can add the line stty -ixon to ~/.bashrc to disable freezing, but I haven't done that yet.

  • searching (with Ctrl + r) after you have typed a part of the command section from 2nd reading (listed below) was a good read.

Readings

Inspiration

I was feeling down yesterday because I could not completely ready all of the links in the "Extensions" section that had been posted for last 4 days. so I told this to u/snori74 and to my surprise, he said that don't take stress and don't let it make you overwhelmed "think of them as Part II and skip them for now" "but do complete them in the next month" I guess that is a fine advice and it lifted the burden of my brain. I had thought I would be reading all of other people's comments too and learn from them. However, I guess that will have to wait until next month. I will try to complete all the tasks each day this month. And will look into the readings once again next month, along with reading other peoples comments and trying to solve the tasks without any help. That will perhaps be a kind of revision, and surely worth it.