100 lines
No EOL
4.8 KiB
JSON
100 lines
No EOL
4.8 KiB
JSON
{
|
|
"uuid": [
|
|
{
|
|
"value": "17cdb409-2670-4e44-8ced-fcab65bdd6e2"
|
|
}
|
|
],
|
|
"langcode": [
|
|
{
|
|
"value": "en"
|
|
}
|
|
],
|
|
"type": [
|
|
{
|
|
"target_id": "daily_email",
|
|
"target_type": "node_type",
|
|
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
|
|
}
|
|
],
|
|
"revision_timestamp": [
|
|
{
|
|
"value": "2025-04-21T01:21:27+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": "Abbreviations are better than aliases"
|
|
}
|
|
],
|
|
"created": [
|
|
{
|
|
"value": "2024-08-24T00:00:00+00:00"
|
|
}
|
|
],
|
|
"changed": [
|
|
{
|
|
"value": "2025-04-21T01:21:27+00:00"
|
|
}
|
|
],
|
|
"promote": [
|
|
{
|
|
"value": false
|
|
}
|
|
],
|
|
"sticky": [
|
|
{
|
|
"value": false
|
|
}
|
|
],
|
|
"default_langcode": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"revision_translation_affected": [
|
|
{
|
|
"value": true
|
|
}
|
|
],
|
|
"path": [
|
|
{
|
|
"alias": "\/daily\/2024\/08\/24\/abbreviations-are-better-than-aliases",
|
|
"langcode": null
|
|
}
|
|
],
|
|
"body": [
|
|
{
|
|
"value": "\n <p>Shell aliases are a useful way to shorten long or complicated commands or to easily add additional arguments when running commands.<\/p>\n\n<p>Common aliases are I see are <code>gs<\/code> for <code>git status<\/code>, <code>a<\/code> for <code>artisan<\/code> and <code>dr<\/code> for <code>drush<\/code>.<\/p>\n\n<p>I've been experimenting with Zellij for the last day or so, and have written aliases like <code>zl<\/code> for <code>zellij list-sessions<\/code>, but have also added extra arguments such as <code>zellij list-sessions | sort | grep -v EXITED<\/code> to sort the sessions and filter any exited sessions.<\/p>\n\n<p>Running aliases makes it easier and quicker for me to run these commands, and less likely for me to make errors and type incorrectly.<\/p>\n\n<p>The issue with aliases is that you can forget that the underlying commands are if you only type and see <code>gs<\/code> or <code>zl<\/code>.<\/p>\n\n<p>It's also not easy when giving demos or pair or mob programming for others to see and understand the commands that are being run.<\/p>\n\n<p>Instead of aliases, I mostly use abbreviations with zsh-abbr that expand automatically after pressing the space key.<\/p>\n\n<p>That way, I and others get to see and understand the commands being run.<\/p>\n\n<p>I still have some aliases that don't expand but now I use abbreviations as my default approach.<\/p>\n\n ",
|
|
"format": "full_html",
|
|
"processed": "\n <p>Shell aliases are a useful way to shorten long or complicated commands or to easily add additional arguments when running commands.<\/p>\n\n<p>Common aliases are I see are <code>gs<\/code> for <code>git status<\/code>, <code>a<\/code> for <code>artisan<\/code> and <code>dr<\/code> for <code>drush<\/code>.<\/p>\n\n<p>I've been experimenting with Zellij for the last day or so, and have written aliases like <code>zl<\/code> for <code>zellij list-sessions<\/code>, but have also added extra arguments such as <code>zellij list-sessions | sort | grep -v EXITED<\/code> to sort the sessions and filter any exited sessions.<\/p>\n\n<p>Running aliases makes it easier and quicker for me to run these commands, and less likely for me to make errors and type incorrectly.<\/p>\n\n<p>The issue with aliases is that you can forget that the underlying commands are if you only type and see <code>gs<\/code> or <code>zl<\/code>.<\/p>\n\n<p>It's also not easy when giving demos or pair or mob programming for others to see and understand the commands that are being run.<\/p>\n\n<p>Instead of aliases, I mostly use abbreviations with zsh-abbr that expand automatically after pressing the space key.<\/p>\n\n<p>That way, I and others get to see and understand the commands being run.<\/p>\n\n<p>I still have some aliases that don't expand but now I use abbreviations as my default approach.<\/p>\n\n ",
|
|
"summary": null
|
|
}
|
|
],
|
|
"feeds_item": [
|
|
{
|
|
"imported": "2025-04-21T01:21:27+00:00",
|
|
"guid": null,
|
|
"hash": "ef19563099602226d685a997087e53be",
|
|
"target_type": "feeds_feed",
|
|
"target_uuid": "90c85284-7ca8-4074-9178-97ff8384fe76"
|
|
}
|
|
]
|
|
} |