oliverdavies.uk/content/node.6eeb79ee-eae2-41ea-ab7e-56f216daf636.json

91 lines
No EOL
3.7 KiB
JSON

{
"uuid": [
{
"value": "6eeb79ee-eae2-41ea-ab7e-56f216daf636"
}
],
"langcode": [
{
"value": "en"
}
],
"type": [
{
"target_id": "daily_email",
"target_type": "node_type",
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
}
],
"revision_timestamp": [
{
"value": "2025-05-11T09:00:10+00:00"
}
],
"revision_uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"revision_log": [],
"status": [
{
"value": true
}
],
"uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"title": [
{
"value": "Aliases and abbreviations"
}
],
"created": [
{
"value": "2024-06-22T00:00:00+00:00"
}
],
"changed": [
{
"value": "2025-05-11T09:00:10+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "\/daily\/2024\/06\/22\/aliases-and-abbreviations",
"langcode": "en"
}
],
"body": [
{
"value": "\n <p>Yesterday, I said <a href=\"\/daily\/2024\/06\/21\/dont-use-aliases\">not to use custom shell aliases and functions<\/a> during presentations and group programming sessions to avoid confusion.<\/p>\n\n<p>I use aliases, but they expand after I type them, the same as as snippet in an IDE or text editor.<\/p>\n\n<p>Me and everyone else can see the underlying command, and that's also what's saved in my shell history.<\/p>\n\n<p>I still have the benefit of not having to type the whole command without obscuring it.<\/p>\n\n<p>I used to have custom code in my zsh configuration, but recently <a href=\"https:\/\/github.com\/opdavies\/dotfiles.nix\/commit\/0df5f17dae4328546b5d08eef141656a5de2b522\">switched to zsh-abbr<\/a>.<\/p>\n\n<p>The first impressions are positive and I no longer need to maintain my custom code.<\/p>\n\n<p>I use aliases for commands I don't want to expand, but I've moved everything else has moved to abbreviations.<\/p>\n\n<p>If you use zsh, I recommend trying it.<\/p>\n\n ",
"format": "full_html",
"processed": "\n <p>Yesterday, I said <a href=\"http:\/\/default\/daily\/2024\/06\/21\/dont-use-aliases\">not to use custom shell aliases and functions<\/a> during presentations and group programming sessions to avoid confusion.<\/p>\n\n<p>I use aliases, but they expand after I type them, the same as as snippet in an IDE or text editor.<\/p>\n\n<p>Me and everyone else can see the underlying command, and that's also what's saved in my shell history.<\/p>\n\n<p>I still have the benefit of not having to type the whole command without obscuring it.<\/p>\n\n<p>I used to have custom code in my zsh configuration, but recently <a href=\"https:\/\/github.com\/opdavies\/dotfiles.nix\/commit\/0df5f17dae4328546b5d08eef141656a5de2b522\">switched to zsh-abbr<\/a>.<\/p>\n\n<p>The first impressions are positive and I no longer need to maintain my custom code.<\/p>\n\n<p>I use aliases for commands I don't want to expand, but I've moved everything else has moved to abbreviations.<\/p>\n\n<p>If you use zsh, I recommend trying it.<\/p>\n\n ",
"summary": null
}
]
}