28 January 2022
Ready for the spring to arrive
27 January 2022
The truth about the zsh
I heard wonderful things about the zsh and the wannabe geek in me couldn't help installing it in some of my computers (including the raspi) and it might be yet too soon since I have only been able to play with it for a week or so, but I think I am ready to tell you the truth about the zsh (heed that I mean "my truth"). And bear in mind that we, wannabe-geeks, are so enthusiast that we say "play" instead of some other more appropriate, descriptive word. In the end it is all the same: Learning and having some fun.
Well, when you fire up zsh for the first time it offers you a menu. You can choose among several options, it offers to create a blank .zshrc or a default basic .zshrc according to the configuration chosen by your admin (read your distro) or configure a brand new .zshrc following some other items on the menu. Man, ain't that super cool?
I tried all the options, and my conclusion is, if you only have a basic configuration you can only do basic things, you need to add your own aliases, your own functions and this way it (apart from some enhancements on its own) behaves very similar to other shells, say bash or ksh.
When I say "basic" I mean I even had to add things like:
alias ls='ls --color'
alias grep='grep --color'
and so on and so forth. I even had to add alias la='ls -alh' Man, that sucks. I thought zsh was so clever and so cool...
But what happens when you add something like oh-my-zsh ? Man, that's a completely different world!!! That is where the true power of the shell comes to the fore. oh-my-zsh and probably other similar frameworks add dozens of super elegant themes and plugins (for git, for managing history...) many of he plugins add hundreds of aliases to your configuration.
And apart from the fact that the default theme sucks big time (which really makes you want to dive in the pool of themes looking for a better one) now I can say that zsh is really and truly awesome. Much in the same way other shells can do great things if you add them great stuff.
Themes are basically customized prompts, some of them add nice info like the timestamp of commads or simply a local clock. I like the traditional user@host (+ directory) ~$ model:
For example: chals@jean:~/bin »
Here is where one of the plugins, git, is rad. When you enter a git repo it adds the branch you are in in the prompt.
For example:
chals@jean:~/git » cd soma/
chals@jean:~/git/soma(master○) »
Conclusion: I am enjoying zsh a lot and I really like it. I will continue playing with it to see how many good things I learn in the long run. In my raspi it is now the default shell and by the way, I need to customize the web-search plugin for my raspi.
21 January 2022
pharc v.7.0 released
I am proud to announce that today I released pharc v.7.0. It only includes some minor changes as you can read in the changelog:
* pharc v.7.0
* Updating permissions for gophernicus.
The thing is, when we had bucktooth as gopher server, it was ok to have permissions 750 for directories and 640 for files. This is not the case anymore with gophernicus. It needs 755 and 644 permissions.
This is not a great deal, it was pretty easy to run these lines I found on sdf's gopher tutorial:
$ find ~/gopher/ -type f -print0 | xargs -0 chmod 644
$ find ~/gopher/ -type d -print0 | xargs -0 chmod 755
But it had to be done manually and after that you had to chmod +x your moles again to work. Like I said, this was not a huge problem but I had to do something about it. So now the problem seems to be fixed for good. One more important change is that since I had to update the wiki for version 7. I added the wiki to the gopherhole. So from now on you can find both resources (the source code and the wiki) on the web and on gopherspace. On the web:https://gitlab.com/pharchttps://gitlab.com/pharc/pharc/-/wikis/home On gopherspace: gopher://sdfeu.org:70/1/users/chals/downloads/softwaregopher://sdfeu.org:70/0/users/chals/wiki 06 January 2022
03 October 2021
Screenshot of the week 15
I am currently watching for a second time a tv series called Sky Rojo. I didn't like it too much the first time I watched it but after ending the second season I came back to the first one to understand it better.
Today is a rainy day and it is a great day to watch shows.
19 September 2021
Better late than never
17 January 2021
Craig Ferguson
I do not remember ever posting anything about him on this blog before. Maybe I have but in case I have not, it is high time to do so. I must say: I like Craig Ferguson a lot, I like his sense of humour ever since I started watching The late late show years ago. I remember his interview with Adriana Lima back in the day and many many more...
I like him so much that I immediately bought his latest book Riding the elephant as soon as I knew it was published. I do not have a lot of time to read because I work long hours but I am really enjoying it. There are all kinds of stories, some are sad, some are hilarious but behind all of them there is him, the narrator, the fun Craig. Today I couldn't stop laughing reading chapter 15, there is a quote "Fear would have you believe it starts with a capital letter, but it doesn't, not unless you put it at the start of a sentence or name our cat after it"
It is just an example of his wit. I could really be talking about him for a long time since I watched his tv shows for years, but I think that if you are any curious you can check online and see for yourself.
Have a good weekend guys

