GET https://kbin.spritesserver.nl/m/linux@lemmy.ml/t/11536/Custom-shell-prompt-tips-and-tricks/active

Components

24 Twig Components
122 Render Count
848 ms Render Time
14.0 MiB Memory Usage

Components

Name Metadata Render Count Render Time
settings_row_switch
"App\Twig\Components\SettingsRowSwitchComponent"
components/_settings_row_switch.html.twig
15 3.23ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
13 2.46ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
12 6.18ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
11 4.10ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
11 27.81ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
11 15.67ms
entry_comment
"App\Twig\Components\EntryCommentComponent"
components/entry_comment.html.twig
10 617.64ms
user_avatar
"App\Twig\Components\UserAvatarComponent"
components/user_avatar.html.twig
10 104.29ms
entry_comments_nested
"App\Twig\Components\EntryCommentsNestedComponent"
components/_cached.html.twig
10 45.52ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 0.95ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 0.52ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
1 71.33ms
entries_cross
"App\Twig\Components\EntriesCrossComponent"
components/_cached.html.twig
1 15.49ms
editor_toolbar
"App\Twig\Components\EditorToolbarComponent"
components/editor_toolbar.html.twig
1 0.32ms
user_actions
"App\Twig\Components\UserActionsComponent"
components/user_actions.html.twig
1 22.31ms
magazine_box
"App\Twig\Components\MagazineBoxComponent"
components/magazine_box.html.twig
1 41.83ms
magazine_sub
"App\Twig\Components\MagazineSubComponent"
components/magazine_sub.html.twig
1 0.76ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 12.80ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 1.28ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 13.46ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 22.88ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 12.73ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 2.34ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 8.77ms

Render calls

entry App\Twig\Components\EntryComponent 14.0 MiB 71.33 ms
Input props
[
  "entry" => App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "wolf@lemmy.zip"
      +username: "@wolf@lemmy.zip"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728543990 {#1536
        date: 2024-10-10 09:06:30.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 58627
      -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "wolf@lemmy.zip"
      +apProfileId: "https://lemmy.zip/u/wolf"
      +apPublicUrl: "https://lemmy.zip/u/wolf"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.zip/inbox"
      +apDomain: "lemmy.zip"
      +apPreferredUsername: "wolf"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729002026 {#1515
        date: 2024-10-15 16:20:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697268500 {#1516
        date: 2023-10-14 09:28:20.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Custom-shell-prompt-tips-and-tricks"
    +title: "Custom shell prompt tips and tricks?"
    +url: null
    +body: """
      Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
      \n
      My question is, what customization, tips and tricks do you have for the shell prompt?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700431405 {#2414
      date: 2023-11-19 23:03:25.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 11536
    -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
    -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1699644087
    +visibility: "visible             "
    +apId: "https://lemmy.zip/post/5328558"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699557687 {#1793
      date: 2023-11-09 20:21:27.0 +01:00
    }
  }
  "isSingle" => true
  "showShortSentence" => false
  "showBody" => true
]
Attributes
[
  "class" => "entry--single section--top"
]
Component
App\Twig\Components\EntryComponent {#2954
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2955 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "wolf@lemmy.zip"
      +username: "@wolf@lemmy.zip"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728543990 {#1536
        date: 2024-10-10 09:06:30.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 58627
      -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "wolf@lemmy.zip"
      +apProfileId: "https://lemmy.zip/u/wolf"
      +apPublicUrl: "https://lemmy.zip/u/wolf"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.zip/inbox"
      +apDomain: "lemmy.zip"
      +apPreferredUsername: "wolf"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729002026 {#1515
        date: 2024-10-15 16:20:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697268500 {#1516
        date: 2023-10-14 09:28:20.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Custom-shell-prompt-tips-and-tricks"
    +title: "Custom shell prompt tips and tricks?"
    +url: null
    +body: """
      Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
      \n
      My question is, what customization, tips and tricks do you have for the shell prompt?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700431405 {#2414
      date: 2023-11-19 23:03:25.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 11536
    -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
    -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1699644087
    +visibility: "visible             "
    +apId: "https://lemmy.zip/post/5328558"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699557687 {#1793
      date: 2023-11-09 20:21:27.0 +01:00
    }
  }
  +isSingle: true
  +showShortSentence: false
  +showBody: true
  +showMagazineName: false
  +canSeeTrash: false
  +newComments: 0
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.37 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "wolf@lemmy.zip"
    +username: "@wolf@lemmy.zip"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728543990 {#1536
      date: 2024-10-10 09:06:30.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 58627
    -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "wolf@lemmy.zip"
    +apProfileId: "https://lemmy.zip/u/wolf"
    +apPublicUrl: "https://lemmy.zip/u/wolf"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.zip/inbox"
    +apDomain: "lemmy.zip"
    +apPreferredUsername: "wolf"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729002026 {#1515
      date: 2024-10-15 16:20:26.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697268500 {#1516
      date: 2023-10-14 09:28:20.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#3111
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "wolf@lemmy.zip"
    +username: "@wolf@lemmy.zip"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728543990 {#1536
      date: 2024-10-10 09:06:30.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 58627
    -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "wolf@lemmy.zip"
    +apProfileId: "https://lemmy.zip/u/wolf"
    +apPublicUrl: "https://lemmy.zip/u/wolf"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.zip/inbox"
    +apDomain: "lemmy.zip"
    +apPreferredUsername: "wolf"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729002026 {#1515
      date: 2024-10-15 16:20:26.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697268500 {#1516
      date: 2023-10-14 09:28:20.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.30 ms
Input props
[
  "date" => DateTimeImmutable @1699557687 {#1793
    date: 2023-11-09 20:21:27.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3181
  +date: DateTimeImmutable @1699557687 {#1793
    date: 2023-11-09 20:21:27.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 2.76 ms
Input props
[
  "createdAt" => DateTimeImmutable @1699557687 {#1793
    date: 2023-11-09 20:21:27.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#3245
  +createdAt: DateTimeImmutable @1699557687 {#1793
    date: 2023-11-09 20:21:27.0 +01:00
  }
  +editedAt: null
}
vote App\Twig\Components\VoteComponent 14.0 MiB 14.61 ms
Input props
[
  "subject" => App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "wolf@lemmy.zip"
      +username: "@wolf@lemmy.zip"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728543990 {#1536
        date: 2024-10-10 09:06:30.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 58627
      -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "wolf@lemmy.zip"
      +apProfileId: "https://lemmy.zip/u/wolf"
      +apPublicUrl: "https://lemmy.zip/u/wolf"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.zip/inbox"
      +apDomain: "lemmy.zip"
      +apPreferredUsername: "wolf"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729002026 {#1515
        date: 2024-10-15 16:20:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697268500 {#1516
        date: 2023-10-14 09:28:20.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Custom-shell-prompt-tips-and-tricks"
    +title: "Custom shell prompt tips and tricks?"
    +url: null
    +body: """
      Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
      \n
      My question is, what customization, tips and tricks do you have for the shell prompt?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700431405 {#2414
      date: 2023-11-19 23:03:25.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 11536
    -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
    -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1699644087
    +visibility: "visible             "
    +apId: "https://lemmy.zip/post/5328558"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699557687 {#1793
      date: 2023-11-09 20:21:27.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3310
  +subject: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "wolf@lemmy.zip"
      +username: "@wolf@lemmy.zip"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728543990 {#1536
        date: 2024-10-10 09:06:30.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 58627
      -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "wolf@lemmy.zip"
      +apProfileId: "https://lemmy.zip/u/wolf"
      +apPublicUrl: "https://lemmy.zip/u/wolf"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.zip/inbox"
      +apDomain: "lemmy.zip"
      +apPreferredUsername: "wolf"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729002026 {#1515
        date: 2024-10-15 16:20:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697268500 {#1516
        date: 2023-10-14 09:28:20.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Custom-shell-prompt-tips-and-tricks"
    +title: "Custom shell prompt tips and tricks?"
    +url: null
    +body: """
      Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
      \n
      My question is, what customization, tips and tricks do you have for the shell prompt?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700431405 {#2414
      date: 2023-11-19 23:03:25.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 11536
    -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
    -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1699644087
    +visibility: "visible             "
    +apId: "https://lemmy.zip/post/5328558"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699557687 {#1793
      date: 2023-11-09 20:21:27.0 +01:00
    }
  }
  +formDest: "entry"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 1.47 ms
Input props
[
  "subject" => App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "wolf@lemmy.zip"
      +username: "@wolf@lemmy.zip"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728543990 {#1536
        date: 2024-10-10 09:06:30.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 58627
      -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "wolf@lemmy.zip"
      +apProfileId: "https://lemmy.zip/u/wolf"
      +apPublicUrl: "https://lemmy.zip/u/wolf"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.zip/inbox"
      +apDomain: "lemmy.zip"
      +apPreferredUsername: "wolf"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729002026 {#1515
        date: 2024-10-15 16:20:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697268500 {#1516
        date: 2023-10-14 09:28:20.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Custom-shell-prompt-tips-and-tricks"
    +title: "Custom shell prompt tips and tricks?"
    +url: null
    +body: """
      Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
      \n
      My question is, what customization, tips and tricks do you have for the shell prompt?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700431405 {#2414
      date: 2023-11-19 23:03:25.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 11536
    -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
    -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1699644087
    +visibility: "visible             "
    +apId: "https://lemmy.zip/post/5328558"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699557687 {#1793
      date: 2023-11-09 20:21:27.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3376
  +formDest: "entry"
  +subject: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "wolf@lemmy.zip"
      +username: "@wolf@lemmy.zip"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728543990 {#1536
        date: 2024-10-10 09:06:30.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 58627
      -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "wolf@lemmy.zip"
      +apProfileId: "https://lemmy.zip/u/wolf"
      +apPublicUrl: "https://lemmy.zip/u/wolf"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.zip/inbox"
      +apDomain: "lemmy.zip"
      +apPreferredUsername: "wolf"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729002026 {#1515
        date: 2024-10-15 16:20:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697268500 {#1516
        date: 2023-10-14 09:28:20.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Custom-shell-prompt-tips-and-tricks"
    +title: "Custom shell prompt tips and tricks?"
    +url: null
    +body: """
      Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
      \n
      My question is, what customization, tips and tricks do you have for the shell prompt?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700431405 {#2414
      date: 2023-11-19 23:03:25.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 11536
    -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
    -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1699644087
    +visibility: "visible             "
    +apId: "https://lemmy.zip/post/5328558"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699557687 {#1793
      date: 2023-11-09 20:21:27.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entries_cross App\Twig\Components\EntriesCrossComponent 14.0 MiB 15.49 ms
Input props
[
  "entry" => App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "wolf@lemmy.zip"
      +username: "@wolf@lemmy.zip"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728543990 {#1536
        date: 2024-10-10 09:06:30.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 58627
      -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "wolf@lemmy.zip"
      +apProfileId: "https://lemmy.zip/u/wolf"
      +apPublicUrl: "https://lemmy.zip/u/wolf"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.zip/inbox"
      +apDomain: "lemmy.zip"
      +apPreferredUsername: "wolf"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729002026 {#1515
        date: 2024-10-15 16:20:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697268500 {#1516
        date: 2023-10-14 09:28:20.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Custom-shell-prompt-tips-and-tricks"
    +title: "Custom shell prompt tips and tricks?"
    +url: null
    +body: """
      Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
      \n
      My question is, what customization, tips and tricks do you have for the shell prompt?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700431405 {#2414
      date: 2023-11-19 23:03:25.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 11536
    -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
    -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1699644087
    +visibility: "visible             "
    +apId: "https://lemmy.zip/post/5328558"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699557687 {#1793
      date: 2023-11-09 20:21:27.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\EntriesCrossComponent {#3690
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "wolf@lemmy.zip"
      +username: "@wolf@lemmy.zip"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728543990 {#1536
        date: 2024-10-10 09:06:30.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
      +entries: Doctrine\ORM\PersistentCollection {#1631 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
      +posts: Doctrine\ORM\PersistentCollection {#1659 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
      +follows: Doctrine\ORM\PersistentCollection {#1660 …}
      +followers: Doctrine\ORM\PersistentCollection {#1627 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
      +reports: Doctrine\ORM\PersistentCollection {#1425 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
      +violations: Doctrine\ORM\PersistentCollection {#1699 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
      +awards: Doctrine\ORM\PersistentCollection {#1430 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
      +categories: Doctrine\ORM\PersistentCollection {#1645 …}
      -id: 58627
      -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
      +apId: "wolf@lemmy.zip"
      +apProfileId: "https://lemmy.zip/u/wolf"
      +apPublicUrl: "https://lemmy.zip/u/wolf"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.zip/inbox"
      +apDomain: "lemmy.zip"
      +apPreferredUsername: "wolf"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729002026 {#1515
        date: 2024-10-15 16:20:26.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697268500 {#1516
        date: 2023-10-14 09:28:20.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "linux@lemmy.ml"
      +title: "linux"
      +description: """
        From Wikipedia, the free encyclopedia\n
        \n
        Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
        \n
        Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
        \n
        ### Rules\n
        \n
        - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
        - No misinformation\n
        - No NSFW content\n
        - No hate speech, bigotry, etc\n
        \n
        ### Related Communities\n
        \n
        - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
        - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
        - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
        - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
        \n
        Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 1406
      +entryCommentCount: 28632
      +postCount: 6
      +postCommentCount: 214
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729583542 {#275
        date: 2024-10-22 09:52:22.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 73
      +apId: "linux@lemmy.ml"
      +apProfileId: "https://lemmy.ml/c/linux"
      +apPublicUrl: "https://lemmy.ml/c/linux"
      +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "linux"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729583596 {#269
        date: 2024-10-22 09:53:16.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698929468 {#271
        date: 2023-11-02 13:51:08.0 +01:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
    +slug: "Custom-shell-prompt-tips-and-tricks"
    +title: "Custom shell prompt tips and tricks?"
    +url: null
    +body: """
      Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
      \n
      My question is, what customization, tips and tricks do you have for the shell prompt?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 19
    +favouriteCount: 27
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1700431405 {#2414
      date: 2023-11-19 23:03:25.0 +01:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1884 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1959 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +children: []
    -id: 11536
    -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
    -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1699644087
    +visibility: "visible             "
    +apId: "https://lemmy.zip/post/5328558"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699557687 {#1793
      date: 2023-11-09 20:21:27.0 +01:00
    }
  }
  -repository: App\Repository\EntryRepository {#270 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
}
editor_toolbar App\Twig\Components\EditorToolbarComponent 14.0 MiB 0.32 ms
Input props
[
  "id" => "entry_comment_68cd58691c7ab3.85019051_body"
]
Attributes
[]
Component
App\Twig\Components\EditorToolbarComponent {#3787
  +id: "entry_comment_68cd58691c7ab3.85019051_body"
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 60.36 ms
Input props
[
  "comment" => App\Entity\EntryComment {#3998
    +user: App\Entity\User {#3946
      +avatar: Proxies\__CG__\App\Entity\Image {#3947 …}
      +cover: null
      +email: "vojel@feddit.de"
      +username: "@vojel@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700812914 {#4007
        date: 2023-11-24 09:01:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3951 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3943 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3941 …}
      +entries: Doctrine\ORM\PersistentCollection {#3939 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3936 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3934 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3931 …}
      +posts: Doctrine\ORM\PersistentCollection {#3929 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3927 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3924 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3922 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3920 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4063 …}
      +follows: Doctrine\ORM\PersistentCollection {#4059 …}
      +followers: Doctrine\ORM\PersistentCollection {#4048 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4039 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4028 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4065 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4062 …}
      +reports: Doctrine\ORM\PersistentCollection {#4025 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4052 …}
      +violations: Doctrine\ORM\PersistentCollection {#4055 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4053 …}
      +awards: Doctrine\ORM\PersistentCollection {#4051 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4050 …}
      +categories: Doctrine\ORM\PersistentCollection {#4043 …}
      -id: 39248
      -password: "$2y$13$.b2YzJrHTZPSIjjmXpfx.u/.4GzFkWW7HAEw54w9wrEVRpJXFSnSe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4037 …}
      +apId: "vojel@feddit.de"
      +apProfileId: "https://feddit.de/u/vojel"
      +apPublicUrl: "https://feddit.de/u/vojel"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "vojel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1702599821 {#4003
        date: 2023-12-15 01:23:41.0 +01:00
      }
      +apDeletedAt: DateTime @1707253968 {#4001
        date: 2024-02-06 22:12:48.0 +01:00
      }
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691418989 {#4000
        date: 2023-08-07 16:36:29.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I got different colors for Kubernetes clusters. Like green for testing cluster, yellow for development and red for production. Always taking a Quick Look before I do something"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1700812914 {#4008
      date: 2023-11-24 09:01:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#3996 …}
    +nested: Doctrine\ORM\PersistentCollection {#3994 …}
    +votes: Doctrine\ORM\PersistentCollection {#3992 …}
    +reports: Doctrine\ORM\PersistentCollection {#3990 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3958 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3962 …}
    -id: 106096
    -bodyTs: "'alway':20 'cluster':7,12 'color':4 'develop':15 'differ':3 'got':2 'green':9 'kubernet':6 'like':8 'look':24 'product':19 'quick':23 'red':17 'someth':28 'take':21 'test':11 'yellow':13"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4671325"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699577775 {#3944
      date: 2023-11-10 01:56:15.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#4801
  +comment: App\Entity\EntryComment {#3998
    +user: App\Entity\User {#3946
      +avatar: Proxies\__CG__\App\Entity\Image {#3947 …}
      +cover: null
      +email: "vojel@feddit.de"
      +username: "@vojel@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700812914 {#4007
        date: 2023-11-24 09:01:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3951 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3943 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3941 …}
      +entries: Doctrine\ORM\PersistentCollection {#3939 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3936 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3934 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3931 …}
      +posts: Doctrine\ORM\PersistentCollection {#3929 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3927 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3924 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3922 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3920 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4063 …}
      +follows: Doctrine\ORM\PersistentCollection {#4059 …}
      +followers: Doctrine\ORM\PersistentCollection {#4048 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4039 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4028 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4065 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4062 …}
      +reports: Doctrine\ORM\PersistentCollection {#4025 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4052 …}
      +violations: Doctrine\ORM\PersistentCollection {#4055 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4053 …}
      +awards: Doctrine\ORM\PersistentCollection {#4051 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4050 …}
      +categories: Doctrine\ORM\PersistentCollection {#4043 …}
      -id: 39248
      -password: "$2y$13$.b2YzJrHTZPSIjjmXpfx.u/.4GzFkWW7HAEw54w9wrEVRpJXFSnSe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4037 …}
      +apId: "vojel@feddit.de"
      +apProfileId: "https://feddit.de/u/vojel"
      +apPublicUrl: "https://feddit.de/u/vojel"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "vojel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1702599821 {#4003
        date: 2023-12-15 01:23:41.0 +01:00
      }
      +apDeletedAt: DateTime @1707253968 {#4001
        date: 2024-02-06 22:12:48.0 +01:00
      }
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691418989 {#4000
        date: 2023-08-07 16:36:29.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I got different colors for Kubernetes clusters. Like green for testing cluster, yellow for development and red for production. Always taking a Quick Look before I do something"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1700812914 {#4008
      date: 2023-11-24 09:01:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#3996 …}
    +nested: Doctrine\ORM\PersistentCollection {#3994 …}
    +votes: Doctrine\ORM\PersistentCollection {#3992 …}
    +reports: Doctrine\ORM\PersistentCollection {#3990 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3958 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3962 …}
    -id: 106096
    -bodyTs: "'alway':20 'cluster':7,12 'color':4 'develop':15 'differ':3 'got':2 'green':9 'kubernet':6 'like':8 'look':24 'product':19 'quick':23 'red':17 'someth':28 'take':21 'test':11 'yellow':13"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4671325"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699577775 {#3944
      date: 2023-11-10 01:56:15.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#3946
    +avatar: Proxies\__CG__\App\Entity\Image {#3947 …}
    +cover: null
    +email: "vojel@feddit.de"
    +username: "@vojel@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700812914 {#4007
      date: 2023-11-24 09:01:54.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#3951 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3943 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3941 …}
    +entries: Doctrine\ORM\PersistentCollection {#3939 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3936 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3934 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3931 …}
    +posts: Doctrine\ORM\PersistentCollection {#3929 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3927 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3924 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3922 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3920 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4063 …}
    +follows: Doctrine\ORM\PersistentCollection {#4059 …}
    +followers: Doctrine\ORM\PersistentCollection {#4048 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4039 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4028 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4065 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4062 …}
    +reports: Doctrine\ORM\PersistentCollection {#4025 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4052 …}
    +violations: Doctrine\ORM\PersistentCollection {#4055 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4053 …}
    +awards: Doctrine\ORM\PersistentCollection {#4051 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4050 …}
    +categories: Doctrine\ORM\PersistentCollection {#4043 …}
    -id: 39248
    -password: "$2y$13$.b2YzJrHTZPSIjjmXpfx.u/.4GzFkWW7HAEw54w9wrEVRpJXFSnSe"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4037 …}
    +apId: "vojel@feddit.de"
    +apProfileId: "https://feddit.de/u/vojel"
    +apPublicUrl: "https://feddit.de/u/vojel"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "vojel"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1702599821 {#4003
      date: 2023-12-15 01:23:41.0 +01:00
    }
    +apDeletedAt: DateTime @1707253968 {#4001
      date: 2024-02-06 22:12:48.0 +01:00
    }
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691418989 {#4000
      date: 2023-08-07 16:36:29.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#4931
  +user: App\Entity\User {#3946
    +avatar: Proxies\__CG__\App\Entity\Image {#3947 …}
    +cover: null
    +email: "vojel@feddit.de"
    +username: "@vojel@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700812914 {#4007
      date: 2023-11-24 09:01:54.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#3951 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3943 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3941 …}
    +entries: Doctrine\ORM\PersistentCollection {#3939 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3936 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3934 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3931 …}
    +posts: Doctrine\ORM\PersistentCollection {#3929 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3927 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3924 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3922 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3920 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4063 …}
    +follows: Doctrine\ORM\PersistentCollection {#4059 …}
    +followers: Doctrine\ORM\PersistentCollection {#4048 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4039 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4028 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4065 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4062 …}
    +reports: Doctrine\ORM\PersistentCollection {#4025 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4052 …}
    +violations: Doctrine\ORM\PersistentCollection {#4055 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4053 …}
    +awards: Doctrine\ORM\PersistentCollection {#4051 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4050 …}
    +categories: Doctrine\ORM\PersistentCollection {#4043 …}
    -id: 39248
    -password: "$2y$13$.b2YzJrHTZPSIjjmXpfx.u/.4GzFkWW7HAEw54w9wrEVRpJXFSnSe"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4037 …}
    +apId: "vojel@feddit.de"
    +apProfileId: "https://feddit.de/u/vojel"
    +apPublicUrl: "https://feddit.de/u/vojel"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "vojel"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1702599821 {#4003
      date: 2023-12-15 01:23:41.0 +01:00
    }
    +apDeletedAt: DateTime @1707253968 {#4001
      date: 2024-02-06 22:12:48.0 +01:00
    }
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691418989 {#4000
      date: 2023-08-07 16:36:29.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1699577775 {#3944
    date: 2023-11-10 01:56:15.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#4986
  +date: DateTimeImmutable @1699577775 {#3944
    date: 2023-11-10 01:56:15.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1699577775 {#3944
    date: 2023-11-10 01:56:15.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5040
  +createdAt: DateTimeImmutable @1699577775 {#3944
    date: 2023-11-10 01:56:15.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 11.69 ms
Input props
[
  "user" => App\Entity\User {#3946
    +avatar: Proxies\__CG__\App\Entity\Image {#3947 …}
    +cover: null
    +email: "vojel@feddit.de"
    +username: "@vojel@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700812914 {#4007
      date: 2023-11-24 09:01:54.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#3951 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3943 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3941 …}
    +entries: Doctrine\ORM\PersistentCollection {#3939 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3936 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3934 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3931 …}
    +posts: Doctrine\ORM\PersistentCollection {#3929 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3927 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3924 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3922 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3920 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4063 …}
    +follows: Doctrine\ORM\PersistentCollection {#4059 …}
    +followers: Doctrine\ORM\PersistentCollection {#4048 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4039 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4028 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4065 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4062 …}
    +reports: Doctrine\ORM\PersistentCollection {#4025 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4052 …}
    +violations: Doctrine\ORM\PersistentCollection {#4055 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4053 …}
    +awards: Doctrine\ORM\PersistentCollection {#4051 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4050 …}
    +categories: Doctrine\ORM\PersistentCollection {#4043 …}
    -id: 39248
    -password: "$2y$13$.b2YzJrHTZPSIjjmXpfx.u/.4GzFkWW7HAEw54w9wrEVRpJXFSnSe"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4037 …}
    +apId: "vojel@feddit.de"
    +apProfileId: "https://feddit.de/u/vojel"
    +apPublicUrl: "https://feddit.de/u/vojel"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "vojel"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1702599821 {#4003
      date: 2023-12-15 01:23:41.0 +01:00
    }
    +apDeletedAt: DateTime @1707253968 {#4001
      date: 2024-02-06 22:12:48.0 +01:00
    }
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691418989 {#4000
      date: 2023-08-07 16:36:29.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#5096
  +width: 40
  +height: 40
  +user: App\Entity\User {#3946
    +avatar: Proxies\__CG__\App\Entity\Image {#3947 …}
    +cover: null
    +email: "vojel@feddit.de"
    +username: "@vojel@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1700812914 {#4007
      date: 2023-11-24 09:01:54.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#3951 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3943 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3941 …}
    +entries: Doctrine\ORM\PersistentCollection {#3939 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3936 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3934 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3931 …}
    +posts: Doctrine\ORM\PersistentCollection {#3929 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3927 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3924 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3922 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3920 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4063 …}
    +follows: Doctrine\ORM\PersistentCollection {#4059 …}
    +followers: Doctrine\ORM\PersistentCollection {#4048 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4039 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4028 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4065 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4062 …}
    +reports: Doctrine\ORM\PersistentCollection {#4025 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4052 …}
    +violations: Doctrine\ORM\PersistentCollection {#4055 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4053 …}
    +awards: Doctrine\ORM\PersistentCollection {#4051 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4050 …}
    +categories: Doctrine\ORM\PersistentCollection {#4043 …}
    -id: 39248
    -password: "$2y$13$.b2YzJrHTZPSIjjmXpfx.u/.4GzFkWW7HAEw54w9wrEVRpJXFSnSe"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4037 …}
    +apId: "vojel@feddit.de"
    +apProfileId: "https://feddit.de/u/vojel"
    +apPublicUrl: "https://feddit.de/u/vojel"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "vojel"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1702599821 {#4003
      date: 2023-12-15 01:23:41.0 +01:00
    }
    +apDeletedAt: DateTime @1707253968 {#4001
      date: 2024-02-06 22:12:48.0 +01:00
    }
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691418989 {#4000
      date: 2023-08-07 16:36:29.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.58 ms
Input props
[
  "subject" => App\Entity\EntryComment {#3998
    +user: App\Entity\User {#3946
      +avatar: Proxies\__CG__\App\Entity\Image {#3947 …}
      +cover: null
      +email: "vojel@feddit.de"
      +username: "@vojel@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700812914 {#4007
        date: 2023-11-24 09:01:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3951 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3943 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3941 …}
      +entries: Doctrine\ORM\PersistentCollection {#3939 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3936 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3934 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3931 …}
      +posts: Doctrine\ORM\PersistentCollection {#3929 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3927 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3924 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3922 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3920 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4063 …}
      +follows: Doctrine\ORM\PersistentCollection {#4059 …}
      +followers: Doctrine\ORM\PersistentCollection {#4048 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4039 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4028 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4065 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4062 …}
      +reports: Doctrine\ORM\PersistentCollection {#4025 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4052 …}
      +violations: Doctrine\ORM\PersistentCollection {#4055 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4053 …}
      +awards: Doctrine\ORM\PersistentCollection {#4051 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4050 …}
      +categories: Doctrine\ORM\PersistentCollection {#4043 …}
      -id: 39248
      -password: "$2y$13$.b2YzJrHTZPSIjjmXpfx.u/.4GzFkWW7HAEw54w9wrEVRpJXFSnSe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4037 …}
      +apId: "vojel@feddit.de"
      +apProfileId: "https://feddit.de/u/vojel"
      +apPublicUrl: "https://feddit.de/u/vojel"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "vojel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1702599821 {#4003
        date: 2023-12-15 01:23:41.0 +01:00
      }
      +apDeletedAt: DateTime @1707253968 {#4001
        date: 2024-02-06 22:12:48.0 +01:00
      }
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691418989 {#4000
        date: 2023-08-07 16:36:29.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I got different colors for Kubernetes clusters. Like green for testing cluster, yellow for development and red for production. Always taking a Quick Look before I do something"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1700812914 {#4008
      date: 2023-11-24 09:01:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#3996 …}
    +nested: Doctrine\ORM\PersistentCollection {#3994 …}
    +votes: Doctrine\ORM\PersistentCollection {#3992 …}
    +reports: Doctrine\ORM\PersistentCollection {#3990 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3958 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3962 …}
    -id: 106096
    -bodyTs: "'alway':20 'cluster':7,12 'color':4 'develop':15 'differ':3 'got':2 'green':9 'kubernet':6 'like':8 'look':24 'product':19 'quick':23 'red':17 'someth':28 'take':21 'test':11 'yellow':13"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4671325"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699577775 {#3944
      date: 2023-11-10 01:56:15.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#5181
  +subject: App\Entity\EntryComment {#3998
    +user: App\Entity\User {#3946
      +avatar: Proxies\__CG__\App\Entity\Image {#3947 …}
      +cover: null
      +email: "vojel@feddit.de"
      +username: "@vojel@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700812914 {#4007
        date: 2023-11-24 09:01:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3951 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3943 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3941 …}
      +entries: Doctrine\ORM\PersistentCollection {#3939 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3936 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3934 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3931 …}
      +posts: Doctrine\ORM\PersistentCollection {#3929 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3927 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3924 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3922 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3920 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4063 …}
      +follows: Doctrine\ORM\PersistentCollection {#4059 …}
      +followers: Doctrine\ORM\PersistentCollection {#4048 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4039 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4028 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4065 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4062 …}
      +reports: Doctrine\ORM\PersistentCollection {#4025 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4052 …}
      +violations: Doctrine\ORM\PersistentCollection {#4055 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4053 …}
      +awards: Doctrine\ORM\PersistentCollection {#4051 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4050 …}
      +categories: Doctrine\ORM\PersistentCollection {#4043 …}
      -id: 39248
      -password: "$2y$13$.b2YzJrHTZPSIjjmXpfx.u/.4GzFkWW7HAEw54w9wrEVRpJXFSnSe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4037 …}
      +apId: "vojel@feddit.de"
      +apProfileId: "https://feddit.de/u/vojel"
      +apPublicUrl: "https://feddit.de/u/vojel"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "vojel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1702599821 {#4003
        date: 2023-12-15 01:23:41.0 +01:00
      }
      +apDeletedAt: DateTime @1707253968 {#4001
        date: 2024-02-06 22:12:48.0 +01:00
      }
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691418989 {#4000
        date: 2023-08-07 16:36:29.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I got different colors for Kubernetes clusters. Like green for testing cluster, yellow for development and red for production. Always taking a Quick Look before I do something"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1700812914 {#4008
      date: 2023-11-24 09:01:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#3996 …}
    +nested: Doctrine\ORM\PersistentCollection {#3994 …}
    +votes: Doctrine\ORM\PersistentCollection {#3992 …}
    +reports: Doctrine\ORM\PersistentCollection {#3990 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3958 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3962 …}
    -id: 106096
    -bodyTs: "'alway':20 'cluster':7,12 'color':4 'develop':15 'differ':3 'got':2 'green':9 'kubernet':6 'like':8 'look':24 'product':19 'quick':23 'red':17 'someth':28 'take':21 'test':11 'yellow':13"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4671325"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699577775 {#3944
      date: 2023-11-10 01:56:15.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.91 ms
Input props
[
  "subject" => App\Entity\EntryComment {#3998
    +user: App\Entity\User {#3946
      +avatar: Proxies\__CG__\App\Entity\Image {#3947 …}
      +cover: null
      +email: "vojel@feddit.de"
      +username: "@vojel@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700812914 {#4007
        date: 2023-11-24 09:01:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3951 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3943 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3941 …}
      +entries: Doctrine\ORM\PersistentCollection {#3939 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3936 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3934 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3931 …}
      +posts: Doctrine\ORM\PersistentCollection {#3929 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3927 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3924 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3922 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3920 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4063 …}
      +follows: Doctrine\ORM\PersistentCollection {#4059 …}
      +followers: Doctrine\ORM\PersistentCollection {#4048 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4039 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4028 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4065 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4062 …}
      +reports: Doctrine\ORM\PersistentCollection {#4025 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4052 …}
      +violations: Doctrine\ORM\PersistentCollection {#4055 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4053 …}
      +awards: Doctrine\ORM\PersistentCollection {#4051 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4050 …}
      +categories: Doctrine\ORM\PersistentCollection {#4043 …}
      -id: 39248
      -password: "$2y$13$.b2YzJrHTZPSIjjmXpfx.u/.4GzFkWW7HAEw54w9wrEVRpJXFSnSe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4037 …}
      +apId: "vojel@feddit.de"
      +apProfileId: "https://feddit.de/u/vojel"
      +apPublicUrl: "https://feddit.de/u/vojel"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "vojel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1702599821 {#4003
        date: 2023-12-15 01:23:41.0 +01:00
      }
      +apDeletedAt: DateTime @1707253968 {#4001
        date: 2024-02-06 22:12:48.0 +01:00
      }
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691418989 {#4000
        date: 2023-08-07 16:36:29.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I got different colors for Kubernetes clusters. Like green for testing cluster, yellow for development and red for production. Always taking a Quick Look before I do something"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1700812914 {#4008
      date: 2023-11-24 09:01:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#3996 …}
    +nested: Doctrine\ORM\PersistentCollection {#3994 …}
    +votes: Doctrine\ORM\PersistentCollection {#3992 …}
    +reports: Doctrine\ORM\PersistentCollection {#3990 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3958 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3962 …}
    -id: 106096
    -bodyTs: "'alway':20 'cluster':7,12 'color':4 'develop':15 'differ':3 'got':2 'green':9 'kubernet':6 'like':8 'look':24 'product':19 'quick':23 'red':17 'someth':28 'take':21 'test':11 'yellow':13"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4671325"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699577775 {#3944
      date: 2023-11-10 01:56:15.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#5238
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#3998
    +user: App\Entity\User {#3946
      +avatar: Proxies\__CG__\App\Entity\Image {#3947 …}
      +cover: null
      +email: "vojel@feddit.de"
      +username: "@vojel@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700812914 {#4007
        date: 2023-11-24 09:01:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3951 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3943 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3941 …}
      +entries: Doctrine\ORM\PersistentCollection {#3939 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3936 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3934 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3931 …}
      +posts: Doctrine\ORM\PersistentCollection {#3929 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3927 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3924 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3922 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3920 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4063 …}
      +follows: Doctrine\ORM\PersistentCollection {#4059 …}
      +followers: Doctrine\ORM\PersistentCollection {#4048 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4039 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4028 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4065 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4062 …}
      +reports: Doctrine\ORM\PersistentCollection {#4025 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4052 …}
      +violations: Doctrine\ORM\PersistentCollection {#4055 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4053 …}
      +awards: Doctrine\ORM\PersistentCollection {#4051 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4050 …}
      +categories: Doctrine\ORM\PersistentCollection {#4043 …}
      -id: 39248
      -password: "$2y$13$.b2YzJrHTZPSIjjmXpfx.u/.4GzFkWW7HAEw54w9wrEVRpJXFSnSe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4037 …}
      +apId: "vojel@feddit.de"
      +apProfileId: "https://feddit.de/u/vojel"
      +apPublicUrl: "https://feddit.de/u/vojel"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "vojel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1702599821 {#4003
        date: 2023-12-15 01:23:41.0 +01:00
      }
      +apDeletedAt: DateTime @1707253968 {#4001
        date: 2024-02-06 22:12:48.0 +01:00
      }
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691418989 {#4000
        date: 2023-08-07 16:36:29.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I got different colors for Kubernetes clusters. Like green for testing cluster, yellow for development and red for production. Always taking a Quick Look before I do something"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1700812914 {#4008
      date: 2023-11-24 09:01:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#3996 …}
    +nested: Doctrine\ORM\PersistentCollection {#3994 …}
    +votes: Doctrine\ORM\PersistentCollection {#3992 …}
    +reports: Doctrine\ORM\PersistentCollection {#3990 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3958 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3962 …}
    -id: 106096
    -bodyTs: "'alway':20 'cluster':7,12 'color':4 'develop':15 'differ':3 'got':2 'green':9 'kubernet':6 'like':8 'look':24 'product':19 'quick':23 'red':17 'someth':28 'take':21 'test':11 'yellow':13"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4671325"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699577775 {#3944
      date: 2023-11-10 01:56:15.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 6.70 ms
Input props
[
  "comment" => App\Entity\EntryComment {#3998
    +user: App\Entity\User {#3946
      +avatar: Proxies\__CG__\App\Entity\Image {#3947 …}
      +cover: null
      +email: "vojel@feddit.de"
      +username: "@vojel@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700812914 {#4007
        date: 2023-11-24 09:01:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3951 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3943 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3941 …}
      +entries: Doctrine\ORM\PersistentCollection {#3939 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3936 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3934 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3931 …}
      +posts: Doctrine\ORM\PersistentCollection {#3929 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3927 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3924 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3922 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3920 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4063 …}
      +follows: Doctrine\ORM\PersistentCollection {#4059 …}
      +followers: Doctrine\ORM\PersistentCollection {#4048 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4039 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4028 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4065 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4062 …}
      +reports: Doctrine\ORM\PersistentCollection {#4025 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4052 …}
      +violations: Doctrine\ORM\PersistentCollection {#4055 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4053 …}
      +awards: Doctrine\ORM\PersistentCollection {#4051 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4050 …}
      +categories: Doctrine\ORM\PersistentCollection {#4043 …}
      -id: 39248
      -password: "$2y$13$.b2YzJrHTZPSIjjmXpfx.u/.4GzFkWW7HAEw54w9wrEVRpJXFSnSe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4037 …}
      +apId: "vojel@feddit.de"
      +apProfileId: "https://feddit.de/u/vojel"
      +apPublicUrl: "https://feddit.de/u/vojel"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "vojel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1702599821 {#4003
        date: 2023-12-15 01:23:41.0 +01:00
      }
      +apDeletedAt: DateTime @1707253968 {#4001
        date: 2024-02-06 22:12:48.0 +01:00
      }
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691418989 {#4000
        date: 2023-08-07 16:36:29.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I got different colors for Kubernetes clusters. Like green for testing cluster, yellow for development and red for production. Always taking a Quick Look before I do something"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1700812914 {#4008
      date: 2023-11-24 09:01:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#3996 …}
    +nested: Doctrine\ORM\PersistentCollection {#3994 …}
    +votes: Doctrine\ORM\PersistentCollection {#3992 …}
    +reports: Doctrine\ORM\PersistentCollection {#3990 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3958 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3962 …}
    -id: 106096
    -bodyTs: "'alway':20 'cluster':7,12 'color':4 'develop':15 'differ':3 'got':2 'green':9 'kubernet':6 'like':8 'look':24 'product':19 'quick':23 'red':17 'someth':28 'take':21 'test':11 'yellow':13"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4671325"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699577775 {#3944
      date: 2023-11-10 01:56:15.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5485
  +comment: App\Entity\EntryComment {#3998
    +user: App\Entity\User {#3946
      +avatar: Proxies\__CG__\App\Entity\Image {#3947 …}
      +cover: null
      +email: "vojel@feddit.de"
      +username: "@vojel@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1700812914 {#4007
        date: 2023-11-24 09:01:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#3951 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#3943 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3941 …}
      +entries: Doctrine\ORM\PersistentCollection {#3939 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3936 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3934 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3931 …}
      +posts: Doctrine\ORM\PersistentCollection {#3929 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3927 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3924 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3922 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3920 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4063 …}
      +follows: Doctrine\ORM\PersistentCollection {#4059 …}
      +followers: Doctrine\ORM\PersistentCollection {#4048 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4039 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4028 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4065 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4062 …}
      +reports: Doctrine\ORM\PersistentCollection {#4025 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4052 …}
      +violations: Doctrine\ORM\PersistentCollection {#4055 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4053 …}
      +awards: Doctrine\ORM\PersistentCollection {#4051 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4050 …}
      +categories: Doctrine\ORM\PersistentCollection {#4043 …}
      -id: 39248
      -password: "$2y$13$.b2YzJrHTZPSIjjmXpfx.u/.4GzFkWW7HAEw54w9wrEVRpJXFSnSe"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4037 …}
      +apId: "vojel@feddit.de"
      +apProfileId: "https://feddit.de/u/vojel"
      +apPublicUrl: "https://feddit.de/u/vojel"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "vojel"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1702599821 {#4003
        date: 2023-12-15 01:23:41.0 +01:00
      }
      +apDeletedAt: DateTime @1707253968 {#4001
        date: 2024-02-06 22:12:48.0 +01:00
      }
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1691418989 {#4000
        date: 2023-08-07 16:36:29.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I got different colors for Kubernetes clusters. Like green for testing cluster, yellow for development and red for production. Always taking a Quick Look before I do something"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1700812914 {#4008
      date: 2023-11-24 09:01:54.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#3996 …}
    +nested: Doctrine\ORM\PersistentCollection {#3994 …}
    +votes: Doctrine\ORM\PersistentCollection {#3992 …}
    +reports: Doctrine\ORM\PersistentCollection {#3990 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3958 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3962 …}
    -id: 106096
    -bodyTs: "'alway':20 'cluster':7,12 'color':4 'develop':15 'differ':3 'got':2 'green':9 'kubernet':6 'like':8 'look':24 'product':19 'quick':23 'red':17 'someth':28 'take':21 'test':11 'yellow':13"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4671325"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699577775 {#3944
      date: 2023-11-10 01:56:15.0 +01:00
    }
  }
  +nestedComments: [
    141107 => App\Entity\EntryComment {#4837
      +user: App\Entity\User {#3946}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4752
        +user: Proxies\__CG__\App\Entity\User {#4753 …}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#3998}
        +root: App\Entity\EntryComment {#3998}
        +body: "This sounds awesome. Do you change the color based on the selected cluster? Do you set an environment variable?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1700027244 {#4750
          date: 2023-11-15 06:47:24.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@wolf@lemmy.zip"
          "@vojel@feddit.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4754 …}
        +nested: Doctrine\ORM\PersistentCollection {#4756 …}
        +votes: Doctrine\ORM\PersistentCollection {#4758 …}
        +reports: Doctrine\ORM\PersistentCollection {#4760 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4762 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4764 …}
        -id: 126222
        -bodyTs: "'awesom':3 'base':9 'chang':6 'cluster':13 'color':8 'environ':18 'select':12 'set':16 'sound':2 'variabl':19"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://discuss.tchncs.de/comment/4873328"
        +editedAt: null
        +createdAt: DateTimeImmutable @1700027244 {#4751
          date: 2023-11-15 06:47:24.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#3998}
      +body: "Yes this works with powerlevel10k theme for oh my zsh."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1700431405 {#4835
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@wolf@lemmy.zip"
        "@vojel@feddit.de"
        "@Kobaltauge@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4838 …}
      +nested: Doctrine\ORM\PersistentCollection {#4840 …}
      +votes: Doctrine\ORM\PersistentCollection {#4842 …}
      +reports: Doctrine\ORM\PersistentCollection {#4844 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4846 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4848 …}
      -id: 141107
      -bodyTs: "'oh':8 'powerlevel10k':5 'theme':6 'work':3 'yes':1 'zsh':10"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://feddit.de/comment/4965075"
      +editedAt: null
      +createdAt: DateTimeImmutable @1700431405 {#4836
        date: 2023-11-19 23:03:25.0 +01:00
      }
    }
    126222 => App\Entity\EntryComment {#4752}
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 74.57 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4035
    +user: App\Entity\User {#4017
      +avatar: Proxies\__CG__\App\Entity\Image {#4016 …}
      +cover: null
      +email: "Presi300@lemmy.world"
      +username: "@Presi300@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Professional Neckbeard"
      +lastActive: DateTime @1729311054 {#4031
        date: 2024-10-19 06:10:54.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4013 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4011 …}
      +entries: Doctrine\ORM\PersistentCollection {#4009 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4073 …}
      +posts: Doctrine\ORM\PersistentCollection {#4075 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4077 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4079 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4081 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4083 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4085 …}
      +follows: Doctrine\ORM\PersistentCollection {#4087 …}
      +followers: Doctrine\ORM\PersistentCollection {#4089 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4091 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4093 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4097 …}
      +reports: Doctrine\ORM\PersistentCollection {#4099 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4101 …}
      +violations: Doctrine\ORM\PersistentCollection {#4103 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4105 …}
      +awards: Doctrine\ORM\PersistentCollection {#4107 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4109 …}
      +categories: Doctrine\ORM\PersistentCollection {#4111 …}
      -id: 58098
      -password: "$2y$13$LK7Q.mvPrULItI4I0vS76e9Awcs1ZeEZXqynNnqPY4Myt9a6.IyRi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4113 …}
      +apId: "Presi300@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Presi300"
      +apPublicUrl: "https://lemmy.world/u/Presi300"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Presi300"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728045175 {#4036
        date: 2024-10-04 14:32:55.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697228704 {#4034
        date: 2023-10-13 22:25:04.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Step 1. Install fish shell\n
      \n
      Step 2. Type fish_config\n
      \n
      Step 3. Profit
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1700033617 {#4040
      date: 2023-11-15 08:33:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4032 …}
    +nested: Doctrine\ORM\PersistentCollection {#4030 …}
    +votes: Doctrine\ORM\PersistentCollection {#4027 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -id: 126344
    -bodyTs: "'1':2 '2':7 '3':12 'config':10 'fish':4,9 'instal':3 'profit':13 'shell':5 'step':1,6,11 'type':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5327298"
    +editedAt: DateTimeImmutable @1700284392 {#4041
      date: 2023-11-18 06:13:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700033617 {#4038
      date: 2023-11-15 08:33:37.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5564
  +comment: App\Entity\EntryComment {#4035
    +user: App\Entity\User {#4017
      +avatar: Proxies\__CG__\App\Entity\Image {#4016 …}
      +cover: null
      +email: "Presi300@lemmy.world"
      +username: "@Presi300@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Professional Neckbeard"
      +lastActive: DateTime @1729311054 {#4031
        date: 2024-10-19 06:10:54.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4013 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4011 …}
      +entries: Doctrine\ORM\PersistentCollection {#4009 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4073 …}
      +posts: Doctrine\ORM\PersistentCollection {#4075 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4077 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4079 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4081 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4083 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4085 …}
      +follows: Doctrine\ORM\PersistentCollection {#4087 …}
      +followers: Doctrine\ORM\PersistentCollection {#4089 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4091 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4093 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4097 …}
      +reports: Doctrine\ORM\PersistentCollection {#4099 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4101 …}
      +violations: Doctrine\ORM\PersistentCollection {#4103 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4105 …}
      +awards: Doctrine\ORM\PersistentCollection {#4107 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4109 …}
      +categories: Doctrine\ORM\PersistentCollection {#4111 …}
      -id: 58098
      -password: "$2y$13$LK7Q.mvPrULItI4I0vS76e9Awcs1ZeEZXqynNnqPY4Myt9a6.IyRi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4113 …}
      +apId: "Presi300@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Presi300"
      +apPublicUrl: "https://lemmy.world/u/Presi300"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Presi300"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728045175 {#4036
        date: 2024-10-04 14:32:55.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697228704 {#4034
        date: 2023-10-13 22:25:04.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Step 1. Install fish shell\n
      \n
      Step 2. Type fish_config\n
      \n
      Step 3. Profit
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1700033617 {#4040
      date: 2023-11-15 08:33:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4032 …}
    +nested: Doctrine\ORM\PersistentCollection {#4030 …}
    +votes: Doctrine\ORM\PersistentCollection {#4027 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -id: 126344
    -bodyTs: "'1':2 '2':7 '3':12 'config':10 'fish':4,9 'instal':3 'profit':13 'shell':5 'step':1,6,11 'type':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5327298"
    +editedAt: DateTimeImmutable @1700284392 {#4041
      date: 2023-11-18 06:13:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700033617 {#4038
      date: 2023-11-15 08:33:37.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.21 ms
Input props
[
  "user" => App\Entity\User {#4017
    +avatar: Proxies\__CG__\App\Entity\Image {#4016 …}
    +cover: null
    +email: "Presi300@lemmy.world"
    +username: "@Presi300@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Professional Neckbeard"
    +lastActive: DateTime @1729311054 {#4031
      date: 2024-10-19 06:10:54.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4013 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4011 …}
    +entries: Doctrine\ORM\PersistentCollection {#4009 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4068 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4071 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4073 …}
    +posts: Doctrine\ORM\PersistentCollection {#4075 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4077 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4079 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4081 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4083 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4085 …}
    +follows: Doctrine\ORM\PersistentCollection {#4087 …}
    +followers: Doctrine\ORM\PersistentCollection {#4089 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4091 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4093 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4097 …}
    +reports: Doctrine\ORM\PersistentCollection {#4099 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4101 …}
    +violations: Doctrine\ORM\PersistentCollection {#4103 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4105 …}
    +awards: Doctrine\ORM\PersistentCollection {#4107 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4109 …}
    +categories: Doctrine\ORM\PersistentCollection {#4111 …}
    -id: 58098
    -password: "$2y$13$LK7Q.mvPrULItI4I0vS76e9Awcs1ZeEZXqynNnqPY4Myt9a6.IyRi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4113 …}
    +apId: "Presi300@lemmy.world"
    +apProfileId: "https://lemmy.world/u/Presi300"
    +apPublicUrl: "https://lemmy.world/u/Presi300"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "Presi300"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728045175 {#4036
      date: 2024-10-04 14:32:55.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697228704 {#4034
      date: 2023-10-13 22:25:04.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5609
  +user: App\Entity\User {#4017
    +avatar: Proxies\__CG__\App\Entity\Image {#4016 …}
    +cover: null
    +email: "Presi300@lemmy.world"
    +username: "@Presi300@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Professional Neckbeard"
    +lastActive: DateTime @1729311054 {#4031
      date: 2024-10-19 06:10:54.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4013 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4011 …}
    +entries: Doctrine\ORM\PersistentCollection {#4009 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4068 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4071 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4073 …}
    +posts: Doctrine\ORM\PersistentCollection {#4075 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4077 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4079 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4081 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4083 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4085 …}
    +follows: Doctrine\ORM\PersistentCollection {#4087 …}
    +followers: Doctrine\ORM\PersistentCollection {#4089 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4091 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4093 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4097 …}
    +reports: Doctrine\ORM\PersistentCollection {#4099 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4101 …}
    +violations: Doctrine\ORM\PersistentCollection {#4103 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4105 …}
    +awards: Doctrine\ORM\PersistentCollection {#4107 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4109 …}
    +categories: Doctrine\ORM\PersistentCollection {#4111 …}
    -id: 58098
    -password: "$2y$13$LK7Q.mvPrULItI4I0vS76e9Awcs1ZeEZXqynNnqPY4Myt9a6.IyRi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4113 …}
    +apId: "Presi300@lemmy.world"
    +apProfileId: "https://lemmy.world/u/Presi300"
    +apPublicUrl: "https://lemmy.world/u/Presi300"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "Presi300"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728045175 {#4036
      date: 2024-10-04 14:32:55.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697228704 {#4034
      date: 2023-10-13 22:25:04.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.19 ms
Input props
[
  "date" => DateTimeImmutable @1700033617 {#4038
    date: 2023-11-15 08:33:37.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5664
  +date: DateTimeImmutable @1700033617 {#4038
    date: 2023-11-15 08:33:37.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.19 ms
Input props
[
  "createdAt" => DateTimeImmutable @1700033617 {#4038
    date: 2023-11-15 08:33:37.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1700284392 {#4041
    date: 2023-11-18 06:13:12.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5718
  +createdAt: DateTimeImmutable @1700033617 {#4038
    date: 2023-11-15 08:33:37.0 +01:00
  }
  +editedAt: DateTimeImmutable @1700284392 {#4041
    date: 2023-11-18 06:13:12.0 +01:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 1.40 ms
Input props
[
  "user" => App\Entity\User {#4017
    +avatar: Proxies\__CG__\App\Entity\Image {#4016 …}
    +cover: null
    +email: "Presi300@lemmy.world"
    +username: "@Presi300@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Professional Neckbeard"
    +lastActive: DateTime @1729311054 {#4031
      date: 2024-10-19 06:10:54.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4013 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4011 …}
    +entries: Doctrine\ORM\PersistentCollection {#4009 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4068 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4071 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4073 …}
    +posts: Doctrine\ORM\PersistentCollection {#4075 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4077 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4079 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4081 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4083 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4085 …}
    +follows: Doctrine\ORM\PersistentCollection {#4087 …}
    +followers: Doctrine\ORM\PersistentCollection {#4089 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4091 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4093 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4097 …}
    +reports: Doctrine\ORM\PersistentCollection {#4099 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4101 …}
    +violations: Doctrine\ORM\PersistentCollection {#4103 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4105 …}
    +awards: Doctrine\ORM\PersistentCollection {#4107 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4109 …}
    +categories: Doctrine\ORM\PersistentCollection {#4111 …}
    -id: 58098
    -password: "$2y$13$LK7Q.mvPrULItI4I0vS76e9Awcs1ZeEZXqynNnqPY4Myt9a6.IyRi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4113 …}
    +apId: "Presi300@lemmy.world"
    +apProfileId: "https://lemmy.world/u/Presi300"
    +apPublicUrl: "https://lemmy.world/u/Presi300"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "Presi300"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728045175 {#4036
      date: 2024-10-04 14:32:55.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697228704 {#4034
      date: 2023-10-13 22:25:04.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#5772
  +width: 40
  +height: 40
  +user: App\Entity\User {#4017
    +avatar: Proxies\__CG__\App\Entity\Image {#4016 …}
    +cover: null
    +email: "Presi300@lemmy.world"
    +username: "@Presi300@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Professional Neckbeard"
    +lastActive: DateTime @1729311054 {#4031
      date: 2024-10-19 06:10:54.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4013 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4011 …}
    +entries: Doctrine\ORM\PersistentCollection {#4009 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4068 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4071 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4073 …}
    +posts: Doctrine\ORM\PersistentCollection {#4075 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4077 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4079 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4081 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4083 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4085 …}
    +follows: Doctrine\ORM\PersistentCollection {#4087 …}
    +followers: Doctrine\ORM\PersistentCollection {#4089 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4091 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4093 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4097 …}
    +reports: Doctrine\ORM\PersistentCollection {#4099 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4101 …}
    +violations: Doctrine\ORM\PersistentCollection {#4103 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4105 …}
    +awards: Doctrine\ORM\PersistentCollection {#4107 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4109 …}
    +categories: Doctrine\ORM\PersistentCollection {#4111 …}
    -id: 58098
    -password: "$2y$13$LK7Q.mvPrULItI4I0vS76e9Awcs1ZeEZXqynNnqPY4Myt9a6.IyRi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4113 …}
    +apId: "Presi300@lemmy.world"
    +apProfileId: "https://lemmy.world/u/Presi300"
    +apPublicUrl: "https://lemmy.world/u/Presi300"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "Presi300"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728045175 {#4036
      date: 2024-10-04 14:32:55.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697228704 {#4034
      date: 2023-10-13 22:25:04.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.42 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4035
    +user: App\Entity\User {#4017
      +avatar: Proxies\__CG__\App\Entity\Image {#4016 …}
      +cover: null
      +email: "Presi300@lemmy.world"
      +username: "@Presi300@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Professional Neckbeard"
      +lastActive: DateTime @1729311054 {#4031
        date: 2024-10-19 06:10:54.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4013 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4011 …}
      +entries: Doctrine\ORM\PersistentCollection {#4009 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4073 …}
      +posts: Doctrine\ORM\PersistentCollection {#4075 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4077 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4079 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4081 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4083 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4085 …}
      +follows: Doctrine\ORM\PersistentCollection {#4087 …}
      +followers: Doctrine\ORM\PersistentCollection {#4089 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4091 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4093 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4097 …}
      +reports: Doctrine\ORM\PersistentCollection {#4099 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4101 …}
      +violations: Doctrine\ORM\PersistentCollection {#4103 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4105 …}
      +awards: Doctrine\ORM\PersistentCollection {#4107 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4109 …}
      +categories: Doctrine\ORM\PersistentCollection {#4111 …}
      -id: 58098
      -password: "$2y$13$LK7Q.mvPrULItI4I0vS76e9Awcs1ZeEZXqynNnqPY4Myt9a6.IyRi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4113 …}
      +apId: "Presi300@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Presi300"
      +apPublicUrl: "https://lemmy.world/u/Presi300"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Presi300"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728045175 {#4036
        date: 2024-10-04 14:32:55.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697228704 {#4034
        date: 2023-10-13 22:25:04.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Step 1. Install fish shell\n
      \n
      Step 2. Type fish_config\n
      \n
      Step 3. Profit
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1700033617 {#4040
      date: 2023-11-15 08:33:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4032 …}
    +nested: Doctrine\ORM\PersistentCollection {#4030 …}
    +votes: Doctrine\ORM\PersistentCollection {#4027 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -id: 126344
    -bodyTs: "'1':2 '2':7 '3':12 'config':10 'fish':4,9 'instal':3 'profit':13 'shell':5 'step':1,6,11 'type':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5327298"
    +editedAt: DateTimeImmutable @1700284392 {#4041
      date: 2023-11-18 06:13:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700033617 {#4038
      date: 2023-11-15 08:33:37.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#5851
  +subject: App\Entity\EntryComment {#4035
    +user: App\Entity\User {#4017
      +avatar: Proxies\__CG__\App\Entity\Image {#4016 …}
      +cover: null
      +email: "Presi300@lemmy.world"
      +username: "@Presi300@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Professional Neckbeard"
      +lastActive: DateTime @1729311054 {#4031
        date: 2024-10-19 06:10:54.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4013 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4011 …}
      +entries: Doctrine\ORM\PersistentCollection {#4009 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4073 …}
      +posts: Doctrine\ORM\PersistentCollection {#4075 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4077 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4079 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4081 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4083 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4085 …}
      +follows: Doctrine\ORM\PersistentCollection {#4087 …}
      +followers: Doctrine\ORM\PersistentCollection {#4089 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4091 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4093 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4097 …}
      +reports: Doctrine\ORM\PersistentCollection {#4099 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4101 …}
      +violations: Doctrine\ORM\PersistentCollection {#4103 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4105 …}
      +awards: Doctrine\ORM\PersistentCollection {#4107 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4109 …}
      +categories: Doctrine\ORM\PersistentCollection {#4111 …}
      -id: 58098
      -password: "$2y$13$LK7Q.mvPrULItI4I0vS76e9Awcs1ZeEZXqynNnqPY4Myt9a6.IyRi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4113 …}
      +apId: "Presi300@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Presi300"
      +apPublicUrl: "https://lemmy.world/u/Presi300"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Presi300"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728045175 {#4036
        date: 2024-10-04 14:32:55.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697228704 {#4034
        date: 2023-10-13 22:25:04.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Step 1. Install fish shell\n
      \n
      Step 2. Type fish_config\n
      \n
      Step 3. Profit
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1700033617 {#4040
      date: 2023-11-15 08:33:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4032 …}
    +nested: Doctrine\ORM\PersistentCollection {#4030 …}
    +votes: Doctrine\ORM\PersistentCollection {#4027 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -id: 126344
    -bodyTs: "'1':2 '2':7 '3':12 'config':10 'fish':4,9 'instal':3 'profit':13 'shell':5 'step':1,6,11 'type':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5327298"
    +editedAt: DateTimeImmutable @1700284392 {#4041
      date: 2023-11-18 06:13:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700033617 {#4038
      date: 2023-11-15 08:33:37.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.65 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4035
    +user: App\Entity\User {#4017
      +avatar: Proxies\__CG__\App\Entity\Image {#4016 …}
      +cover: null
      +email: "Presi300@lemmy.world"
      +username: "@Presi300@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Professional Neckbeard"
      +lastActive: DateTime @1729311054 {#4031
        date: 2024-10-19 06:10:54.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4013 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4011 …}
      +entries: Doctrine\ORM\PersistentCollection {#4009 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4073 …}
      +posts: Doctrine\ORM\PersistentCollection {#4075 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4077 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4079 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4081 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4083 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4085 …}
      +follows: Doctrine\ORM\PersistentCollection {#4087 …}
      +followers: Doctrine\ORM\PersistentCollection {#4089 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4091 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4093 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4097 …}
      +reports: Doctrine\ORM\PersistentCollection {#4099 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4101 …}
      +violations: Doctrine\ORM\PersistentCollection {#4103 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4105 …}
      +awards: Doctrine\ORM\PersistentCollection {#4107 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4109 …}
      +categories: Doctrine\ORM\PersistentCollection {#4111 …}
      -id: 58098
      -password: "$2y$13$LK7Q.mvPrULItI4I0vS76e9Awcs1ZeEZXqynNnqPY4Myt9a6.IyRi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4113 …}
      +apId: "Presi300@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Presi300"
      +apPublicUrl: "https://lemmy.world/u/Presi300"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Presi300"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728045175 {#4036
        date: 2024-10-04 14:32:55.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697228704 {#4034
        date: 2023-10-13 22:25:04.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Step 1. Install fish shell\n
      \n
      Step 2. Type fish_config\n
      \n
      Step 3. Profit
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1700033617 {#4040
      date: 2023-11-15 08:33:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4032 …}
    +nested: Doctrine\ORM\PersistentCollection {#4030 …}
    +votes: Doctrine\ORM\PersistentCollection {#4027 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -id: 126344
    -bodyTs: "'1':2 '2':7 '3':12 'config':10 'fish':4,9 'instal':3 'profit':13 'shell':5 'step':1,6,11 'type':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5327298"
    +editedAt: DateTimeImmutable @1700284392 {#4041
      date: 2023-11-18 06:13:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700033617 {#4038
      date: 2023-11-15 08:33:37.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#5908
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4035
    +user: App\Entity\User {#4017
      +avatar: Proxies\__CG__\App\Entity\Image {#4016 …}
      +cover: null
      +email: "Presi300@lemmy.world"
      +username: "@Presi300@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Professional Neckbeard"
      +lastActive: DateTime @1729311054 {#4031
        date: 2024-10-19 06:10:54.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4013 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4011 …}
      +entries: Doctrine\ORM\PersistentCollection {#4009 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4073 …}
      +posts: Doctrine\ORM\PersistentCollection {#4075 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4077 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4079 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4081 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4083 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4085 …}
      +follows: Doctrine\ORM\PersistentCollection {#4087 …}
      +followers: Doctrine\ORM\PersistentCollection {#4089 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4091 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4093 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4097 …}
      +reports: Doctrine\ORM\PersistentCollection {#4099 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4101 …}
      +violations: Doctrine\ORM\PersistentCollection {#4103 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4105 …}
      +awards: Doctrine\ORM\PersistentCollection {#4107 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4109 …}
      +categories: Doctrine\ORM\PersistentCollection {#4111 …}
      -id: 58098
      -password: "$2y$13$LK7Q.mvPrULItI4I0vS76e9Awcs1ZeEZXqynNnqPY4Myt9a6.IyRi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4113 …}
      +apId: "Presi300@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Presi300"
      +apPublicUrl: "https://lemmy.world/u/Presi300"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Presi300"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728045175 {#4036
        date: 2024-10-04 14:32:55.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697228704 {#4034
        date: 2023-10-13 22:25:04.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Step 1. Install fish shell\n
      \n
      Step 2. Type fish_config\n
      \n
      Step 3. Profit
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1700033617 {#4040
      date: 2023-11-15 08:33:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4032 …}
    +nested: Doctrine\ORM\PersistentCollection {#4030 …}
    +votes: Doctrine\ORM\PersistentCollection {#4027 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -id: 126344
    -bodyTs: "'1':2 '2':7 '3':12 'config':10 'fish':4,9 'instal':3 'profit':13 'shell':5 'step':1,6,11 'type':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5327298"
    +editedAt: DateTimeImmutable @1700284392 {#4041
      date: 2023-11-18 06:13:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700033617 {#4038
      date: 2023-11-15 08:33:37.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 3.97 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4035
    +user: App\Entity\User {#4017
      +avatar: Proxies\__CG__\App\Entity\Image {#4016 …}
      +cover: null
      +email: "Presi300@lemmy.world"
      +username: "@Presi300@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Professional Neckbeard"
      +lastActive: DateTime @1729311054 {#4031
        date: 2024-10-19 06:10:54.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4013 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4011 …}
      +entries: Doctrine\ORM\PersistentCollection {#4009 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4073 …}
      +posts: Doctrine\ORM\PersistentCollection {#4075 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4077 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4079 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4081 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4083 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4085 …}
      +follows: Doctrine\ORM\PersistentCollection {#4087 …}
      +followers: Doctrine\ORM\PersistentCollection {#4089 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4091 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4093 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4097 …}
      +reports: Doctrine\ORM\PersistentCollection {#4099 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4101 …}
      +violations: Doctrine\ORM\PersistentCollection {#4103 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4105 …}
      +awards: Doctrine\ORM\PersistentCollection {#4107 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4109 …}
      +categories: Doctrine\ORM\PersistentCollection {#4111 …}
      -id: 58098
      -password: "$2y$13$LK7Q.mvPrULItI4I0vS76e9Awcs1ZeEZXqynNnqPY4Myt9a6.IyRi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4113 …}
      +apId: "Presi300@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Presi300"
      +apPublicUrl: "https://lemmy.world/u/Presi300"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Presi300"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728045175 {#4036
        date: 2024-10-04 14:32:55.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697228704 {#4034
        date: 2023-10-13 22:25:04.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Step 1. Install fish shell\n
      \n
      Step 2. Type fish_config\n
      \n
      Step 3. Profit
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1700033617 {#4040
      date: 2023-11-15 08:33:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4032 …}
    +nested: Doctrine\ORM\PersistentCollection {#4030 …}
    +votes: Doctrine\ORM\PersistentCollection {#4027 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -id: 126344
    -bodyTs: "'1':2 '2':7 '3':12 'config':10 'fish':4,9 'instal':3 'profit':13 'shell':5 'step':1,6,11 'type':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5327298"
    +editedAt: DateTimeImmutable @1700284392 {#4041
      date: 2023-11-18 06:13:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700033617 {#4038
      date: 2023-11-15 08:33:37.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6148
  +comment: App\Entity\EntryComment {#4035
    +user: App\Entity\User {#4017
      +avatar: Proxies\__CG__\App\Entity\Image {#4016 …}
      +cover: null
      +email: "Presi300@lemmy.world"
      +username: "@Presi300@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Professional Neckbeard"
      +lastActive: DateTime @1729311054 {#4031
        date: 2024-10-19 06:10:54.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4015 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4013 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4011 …}
      +entries: Doctrine\ORM\PersistentCollection {#4009 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4073 …}
      +posts: Doctrine\ORM\PersistentCollection {#4075 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4077 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4079 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4081 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4083 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4085 …}
      +follows: Doctrine\ORM\PersistentCollection {#4087 …}
      +followers: Doctrine\ORM\PersistentCollection {#4089 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4091 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4093 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4097 …}
      +reports: Doctrine\ORM\PersistentCollection {#4099 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4101 …}
      +violations: Doctrine\ORM\PersistentCollection {#4103 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4105 …}
      +awards: Doctrine\ORM\PersistentCollection {#4107 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4109 …}
      +categories: Doctrine\ORM\PersistentCollection {#4111 …}
      -id: 58098
      -password: "$2y$13$LK7Q.mvPrULItI4I0vS76e9Awcs1ZeEZXqynNnqPY4Myt9a6.IyRi"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4113 …}
      +apId: "Presi300@lemmy.world"
      +apProfileId: "https://lemmy.world/u/Presi300"
      +apPublicUrl: "https://lemmy.world/u/Presi300"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "Presi300"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728045175 {#4036
        date: 2024-10-04 14:32:55.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1697228704 {#4034
        date: 2023-10-13 22:25:04.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Step 1. Install fish shell\n
      \n
      Step 2. Type fish_config\n
      \n
      Step 3. Profit
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1700033617 {#4040
      date: 2023-11-15 08:33:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4032 …}
    +nested: Doctrine\ORM\PersistentCollection {#4030 …}
    +votes: Doctrine\ORM\PersistentCollection {#4027 …}
    +reports: Doctrine\ORM\PersistentCollection {#4023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -id: 126344
    -bodyTs: "'1':2 '2':7 '3':12 'config':10 'fish':4,9 'instal':3 'profit':13 'shell':5 'step':1,6,11 'type':8"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5327298"
    +editedAt: DateTimeImmutable @1700284392 {#4041
      date: 2023-11-18 06:13:12.0 +01:00
    }
    +createdAt: DateTimeImmutable @1700033617 {#4038
      date: 2023-11-15 08:33:37.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 48.36 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4120
    +user: App\Entity\User {#4133
      +avatar: null
      +cover: null
      +email: "12510198@lemmy.blahaj.zone"
      +username: "@12510198@lemmy.blahaj.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1725304447 {#4117
        date: 2024-09-02 21:14:07.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4134 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4136 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4138 …}
      +entries: Doctrine\ORM\PersistentCollection {#4140 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4142 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4144 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4146 …}
      +posts: Doctrine\ORM\PersistentCollection {#4148 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4152 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4154 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4156 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4158 …}
      +follows: Doctrine\ORM\PersistentCollection {#4160 …}
      +followers: Doctrine\ORM\PersistentCollection {#4162 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4164 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4166 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4168 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4170 …}
      +reports: Doctrine\ORM\PersistentCollection {#4172 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4174 …}
      +violations: Doctrine\ORM\PersistentCollection {#4176 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
      +awards: Doctrine\ORM\PersistentCollection {#4180 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4182 …}
      +categories: Doctrine\ORM\PersistentCollection {#4184 …}
      -id: 34334
      -password: "$2y$13$dPiOuYKcX5BMkUYXpAYon.VMZfM/cfMc478rz9YC/ozkEKMk6AvNS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4186 …}
      +apId: "12510198@lemmy.blahaj.zone"
      +apProfileId: "https://lemmy.blahaj.zone/u/12510198"
      +apPublicUrl: "https://lemmy.blahaj.zone/u/12510198"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
      +apDomain: "lemmy.blahaj.zone"
      +apPreferredUsername: "12510198"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729436767 {#4118
        date: 2024-10-20 17:06:07.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690216586 {#4119
        date: 2023-07-24 18:36:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      A person in this thread already recommended having different colors for different conditions like ssh and running as root, I havent seen anyone mention this specifically but you can determine if the current working directory is writable with something like `[ -w “$(pwd)” ]` and set the color to red or print a symbol if it doesnt return true.\n
      \n
      Also I recommend putting all the code and logic for your shell prompt in a shell function, and using a substitution shell to put it into the PS1 variable like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">__shellprompt ()\n
      </span><span style="color:#323232;">{\n
      </span><span style="color:#323232;">\tif [ "$(id -u)" = 0 ]; then\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='#'\n
      </span><span style="color:#323232;">\telse\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='$'\n
      </span><span style="color:#323232;">\tfi\n
      </span><span style="color:#323232;">\tprintf "%s" "$(whoami)@$(uname -n):$(pwd)"\n
      </span><span style="color:#323232;">\tprintf "n%c " "$PROMPT_EMBLEM"\n
      </span><span style="color:#323232;">}\n
      </span><span style="color:#323232;">PS1='$(__shellprompt)'\n
      </span>\n
      ```\n
      \n
      Now this is just a really barebones example, there is a whole lot more you can do like passing in the last exit code through the argv of your shellprompt function like this `PS1=‘$(__shellprompt $?)’` and like print it out if its non-zero so you wont have to like `echo $?` to see if the last command failed, but you should be able to still do this. In my testing, running the shell prompt function in the subsitiution shell didnt effect the $? variable.\n
      \n
      In my first comment on another thread about shell prompts, I posted my full shellprompt, it is slightly outdated (I just changed `hostname` to `uname -n`), if you cant find it feel free to send a message or just ask, and I will send you the code.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699929949 {#4115
      date: 2023-11-14 03:45:49.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4121 …}
    +nested: Doctrine\ORM\PersistentCollection {#4123 …}
    +votes: Doctrine\ORM\PersistentCollection {#4125 …}
    +reports: Doctrine\ORM\PersistentCollection {#4127 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4129 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4131 …}
    -id: 107768
    -bodyTs: "'0':93 'abl':179 'alreadi':6 'also':58 'anoth':205 'anyon':23 'argv':142 'ask':239 'barebon':122 'c':111 'cant':228 'chang':221 'code':64,139,246 'color':10,46 'command':173 'comment':203 'condit':13 'current':33 'determin':30 'didnt':196 'differ':9,12 'directori':35 'doesnt':55 'echo':167 'effect':197 'els':98 'emblem':97,101,113 'exampl':123 'exit':138 'fail':174 'feel':231 'fi':102 'find':229 'first':202 'free':232 'full':213 'function':74,146,191 'havent':21 'hostnam':222 'id':91 'last':137,172 'like':14,40,87,133,147,152,166 'local':95,99 'logic':66 'lot':128 'mention':24 'messag':236 'n':107,110,225 'non':159 'non-zero':158 'outdat':218 'pass':134 'person':2 'post':211 'print':50,153 'printf':103,109 'prompt':70,96,100,112,190,209 'ps1':85,114,149 'put':61,81 'pwd':42,108 'realli':121 'recommend':7,60 'red':48 'return':56 'root':19 'run':17,187 'see':169 'seen':22 'send':234,243 'set':44 'shell':69,73,79,189,195,208 'shellprompt':89,115,145,150,214 'slight':217 'someth':39 'specif':26 'ssh':15 'still':181 'subsitiut':194 'substitut':78 'symbol':52 'test':186 'thread':5,206 'true':57 'u':92 'unam':106,224 'use':76 'variabl':86,199 'w':41 'whoami':105 'whole':127 'wont':163 'work':34 'writabl':37 'zero':160"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4253531"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699627856 {#4116
      date: 2023-11-10 15:50:56.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6216
  +comment: App\Entity\EntryComment {#4120
    +user: App\Entity\User {#4133
      +avatar: null
      +cover: null
      +email: "12510198@lemmy.blahaj.zone"
      +username: "@12510198@lemmy.blahaj.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1725304447 {#4117
        date: 2024-09-02 21:14:07.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4134 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4136 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4138 …}
      +entries: Doctrine\ORM\PersistentCollection {#4140 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4142 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4144 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4146 …}
      +posts: Doctrine\ORM\PersistentCollection {#4148 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4152 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4154 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4156 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4158 …}
      +follows: Doctrine\ORM\PersistentCollection {#4160 …}
      +followers: Doctrine\ORM\PersistentCollection {#4162 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4164 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4166 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4168 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4170 …}
      +reports: Doctrine\ORM\PersistentCollection {#4172 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4174 …}
      +violations: Doctrine\ORM\PersistentCollection {#4176 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
      +awards: Doctrine\ORM\PersistentCollection {#4180 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4182 …}
      +categories: Doctrine\ORM\PersistentCollection {#4184 …}
      -id: 34334
      -password: "$2y$13$dPiOuYKcX5BMkUYXpAYon.VMZfM/cfMc478rz9YC/ozkEKMk6AvNS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4186 …}
      +apId: "12510198@lemmy.blahaj.zone"
      +apProfileId: "https://lemmy.blahaj.zone/u/12510198"
      +apPublicUrl: "https://lemmy.blahaj.zone/u/12510198"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
      +apDomain: "lemmy.blahaj.zone"
      +apPreferredUsername: "12510198"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729436767 {#4118
        date: 2024-10-20 17:06:07.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690216586 {#4119
        date: 2023-07-24 18:36:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      A person in this thread already recommended having different colors for different conditions like ssh and running as root, I havent seen anyone mention this specifically but you can determine if the current working directory is writable with something like `[ -w “$(pwd)” ]` and set the color to red or print a symbol if it doesnt return true.\n
      \n
      Also I recommend putting all the code and logic for your shell prompt in a shell function, and using a substitution shell to put it into the PS1 variable like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">__shellprompt ()\n
      </span><span style="color:#323232;">{\n
      </span><span style="color:#323232;">\tif [ "$(id -u)" = 0 ]; then\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='#'\n
      </span><span style="color:#323232;">\telse\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='$'\n
      </span><span style="color:#323232;">\tfi\n
      </span><span style="color:#323232;">\tprintf "%s" "$(whoami)@$(uname -n):$(pwd)"\n
      </span><span style="color:#323232;">\tprintf "n%c " "$PROMPT_EMBLEM"\n
      </span><span style="color:#323232;">}\n
      </span><span style="color:#323232;">PS1='$(__shellprompt)'\n
      </span>\n
      ```\n
      \n
      Now this is just a really barebones example, there is a whole lot more you can do like passing in the last exit code through the argv of your shellprompt function like this `PS1=‘$(__shellprompt $?)’` and like print it out if its non-zero so you wont have to like `echo $?` to see if the last command failed, but you should be able to still do this. In my testing, running the shell prompt function in the subsitiution shell didnt effect the $? variable.\n
      \n
      In my first comment on another thread about shell prompts, I posted my full shellprompt, it is slightly outdated (I just changed `hostname` to `uname -n`), if you cant find it feel free to send a message or just ask, and I will send you the code.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699929949 {#4115
      date: 2023-11-14 03:45:49.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4121 …}
    +nested: Doctrine\ORM\PersistentCollection {#4123 …}
    +votes: Doctrine\ORM\PersistentCollection {#4125 …}
    +reports: Doctrine\ORM\PersistentCollection {#4127 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4129 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4131 …}
    -id: 107768
    -bodyTs: "'0':93 'abl':179 'alreadi':6 'also':58 'anoth':205 'anyon':23 'argv':142 'ask':239 'barebon':122 'c':111 'cant':228 'chang':221 'code':64,139,246 'color':10,46 'command':173 'comment':203 'condit':13 'current':33 'determin':30 'didnt':196 'differ':9,12 'directori':35 'doesnt':55 'echo':167 'effect':197 'els':98 'emblem':97,101,113 'exampl':123 'exit':138 'fail':174 'feel':231 'fi':102 'find':229 'first':202 'free':232 'full':213 'function':74,146,191 'havent':21 'hostnam':222 'id':91 'last':137,172 'like':14,40,87,133,147,152,166 'local':95,99 'logic':66 'lot':128 'mention':24 'messag':236 'n':107,110,225 'non':159 'non-zero':158 'outdat':218 'pass':134 'person':2 'post':211 'print':50,153 'printf':103,109 'prompt':70,96,100,112,190,209 'ps1':85,114,149 'put':61,81 'pwd':42,108 'realli':121 'recommend':7,60 'red':48 'return':56 'root':19 'run':17,187 'see':169 'seen':22 'send':234,243 'set':44 'shell':69,73,79,189,195,208 'shellprompt':89,115,145,150,214 'slight':217 'someth':39 'specif':26 'ssh':15 'still':181 'subsitiut':194 'substitut':78 'symbol':52 'test':186 'thread':5,206 'true':57 'u':92 'unam':106,224 'use':76 'variabl':86,199 'w':41 'whoami':105 'whole':127 'wont':163 'work':34 'writabl':37 'zero':160"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4253531"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699627856 {#4116
      date: 2023-11-10 15:50:56.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4133
    +avatar: null
    +cover: null
    +email: "12510198@lemmy.blahaj.zone"
    +username: "@12510198@lemmy.blahaj.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1725304447 {#4117
      date: 2024-09-02 21:14:07.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4134 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4136 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4138 …}
    +entries: Doctrine\ORM\PersistentCollection {#4140 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4142 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4144 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4146 …}
    +posts: Doctrine\ORM\PersistentCollection {#4148 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4150 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4152 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4154 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4156 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4158 …}
    +follows: Doctrine\ORM\PersistentCollection {#4160 …}
    +followers: Doctrine\ORM\PersistentCollection {#4162 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4164 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4166 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4168 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4170 …}
    +reports: Doctrine\ORM\PersistentCollection {#4172 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4174 …}
    +violations: Doctrine\ORM\PersistentCollection {#4176 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
    +awards: Doctrine\ORM\PersistentCollection {#4180 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4182 …}
    +categories: Doctrine\ORM\PersistentCollection {#4184 …}
    -id: 34334
    -password: "$2y$13$dPiOuYKcX5BMkUYXpAYon.VMZfM/cfMc478rz9YC/ozkEKMk6AvNS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4186 …}
    +apId: "12510198@lemmy.blahaj.zone"
    +apProfileId: "https://lemmy.blahaj.zone/u/12510198"
    +apPublicUrl: "https://lemmy.blahaj.zone/u/12510198"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
    +apDomain: "lemmy.blahaj.zone"
    +apPreferredUsername: "12510198"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729436767 {#4118
      date: 2024-10-20 17:06:07.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690216586 {#4119
      date: 2023-07-24 18:36:26.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#6261
  +user: App\Entity\User {#4133
    +avatar: null
    +cover: null
    +email: "12510198@lemmy.blahaj.zone"
    +username: "@12510198@lemmy.blahaj.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1725304447 {#4117
      date: 2024-09-02 21:14:07.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4134 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4136 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4138 …}
    +entries: Doctrine\ORM\PersistentCollection {#4140 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4142 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4144 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4146 …}
    +posts: Doctrine\ORM\PersistentCollection {#4148 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4150 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4152 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4154 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4156 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4158 …}
    +follows: Doctrine\ORM\PersistentCollection {#4160 …}
    +followers: Doctrine\ORM\PersistentCollection {#4162 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4164 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4166 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4168 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4170 …}
    +reports: Doctrine\ORM\PersistentCollection {#4172 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4174 …}
    +violations: Doctrine\ORM\PersistentCollection {#4176 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
    +awards: Doctrine\ORM\PersistentCollection {#4180 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4182 …}
    +categories: Doctrine\ORM\PersistentCollection {#4184 …}
    -id: 34334
    -password: "$2y$13$dPiOuYKcX5BMkUYXpAYon.VMZfM/cfMc478rz9YC/ozkEKMk6AvNS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4186 …}
    +apId: "12510198@lemmy.blahaj.zone"
    +apProfileId: "https://lemmy.blahaj.zone/u/12510198"
    +apPublicUrl: "https://lemmy.blahaj.zone/u/12510198"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
    +apDomain: "lemmy.blahaj.zone"
    +apPreferredUsername: "12510198"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729436767 {#4118
      date: 2024-10-20 17:06:07.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690216586 {#4119
      date: 2023-07-24 18:36:26.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1699627856 {#4116
    date: 2023-11-10 15:50:56.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6316
  +date: DateTimeImmutable @1699627856 {#4116
    date: 2023-11-10 15:50:56.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1699627856 {#4116
    date: 2023-11-10 15:50:56.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#6370
  +createdAt: DateTimeImmutable @1699627856 {#4116
    date: 2023-11-10 15:50:56.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.22 ms
Input props
[
  "user" => App\Entity\User {#4133
    +avatar: null
    +cover: null
    +email: "12510198@lemmy.blahaj.zone"
    +username: "@12510198@lemmy.blahaj.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1725304447 {#4117
      date: 2024-09-02 21:14:07.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4134 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4136 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4138 …}
    +entries: Doctrine\ORM\PersistentCollection {#4140 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4142 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4144 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4146 …}
    +posts: Doctrine\ORM\PersistentCollection {#4148 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4150 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4152 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4154 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4156 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4158 …}
    +follows: Doctrine\ORM\PersistentCollection {#4160 …}
    +followers: Doctrine\ORM\PersistentCollection {#4162 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4164 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4166 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4168 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4170 …}
    +reports: Doctrine\ORM\PersistentCollection {#4172 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4174 …}
    +violations: Doctrine\ORM\PersistentCollection {#4176 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
    +awards: Doctrine\ORM\PersistentCollection {#4180 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4182 …}
    +categories: Doctrine\ORM\PersistentCollection {#4184 …}
    -id: 34334
    -password: "$2y$13$dPiOuYKcX5BMkUYXpAYon.VMZfM/cfMc478rz9YC/ozkEKMk6AvNS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4186 …}
    +apId: "12510198@lemmy.blahaj.zone"
    +apProfileId: "https://lemmy.blahaj.zone/u/12510198"
    +apPublicUrl: "https://lemmy.blahaj.zone/u/12510198"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
    +apDomain: "lemmy.blahaj.zone"
    +apPreferredUsername: "12510198"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729436767 {#4118
      date: 2024-10-20 17:06:07.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690216586 {#4119
      date: 2023-07-24 18:36:26.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#6424
  +width: 40
  +height: 40
  +user: App\Entity\User {#4133
    +avatar: null
    +cover: null
    +email: "12510198@lemmy.blahaj.zone"
    +username: "@12510198@lemmy.blahaj.zone"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1725304447 {#4117
      date: 2024-09-02 21:14:07.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4134 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4136 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4138 …}
    +entries: Doctrine\ORM\PersistentCollection {#4140 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4142 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4144 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4146 …}
    +posts: Doctrine\ORM\PersistentCollection {#4148 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4150 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4152 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4154 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4156 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4158 …}
    +follows: Doctrine\ORM\PersistentCollection {#4160 …}
    +followers: Doctrine\ORM\PersistentCollection {#4162 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4164 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4166 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4168 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4170 …}
    +reports: Doctrine\ORM\PersistentCollection {#4172 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4174 …}
    +violations: Doctrine\ORM\PersistentCollection {#4176 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
    +awards: Doctrine\ORM\PersistentCollection {#4180 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4182 …}
    +categories: Doctrine\ORM\PersistentCollection {#4184 …}
    -id: 34334
    -password: "$2y$13$dPiOuYKcX5BMkUYXpAYon.VMZfM/cfMc478rz9YC/ozkEKMk6AvNS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4186 …}
    +apId: "12510198@lemmy.blahaj.zone"
    +apProfileId: "https://lemmy.blahaj.zone/u/12510198"
    +apPublicUrl: "https://lemmy.blahaj.zone/u/12510198"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
    +apDomain: "lemmy.blahaj.zone"
    +apPreferredUsername: "12510198"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729436767 {#4118
      date: 2024-10-20 17:06:07.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690216586 {#4119
      date: 2023-07-24 18:36:26.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.51 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4120
    +user: App\Entity\User {#4133
      +avatar: null
      +cover: null
      +email: "12510198@lemmy.blahaj.zone"
      +username: "@12510198@lemmy.blahaj.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1725304447 {#4117
        date: 2024-09-02 21:14:07.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4134 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4136 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4138 …}
      +entries: Doctrine\ORM\PersistentCollection {#4140 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4142 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4144 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4146 …}
      +posts: Doctrine\ORM\PersistentCollection {#4148 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4152 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4154 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4156 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4158 …}
      +follows: Doctrine\ORM\PersistentCollection {#4160 …}
      +followers: Doctrine\ORM\PersistentCollection {#4162 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4164 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4166 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4168 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4170 …}
      +reports: Doctrine\ORM\PersistentCollection {#4172 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4174 …}
      +violations: Doctrine\ORM\PersistentCollection {#4176 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
      +awards: Doctrine\ORM\PersistentCollection {#4180 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4182 …}
      +categories: Doctrine\ORM\PersistentCollection {#4184 …}
      -id: 34334
      -password: "$2y$13$dPiOuYKcX5BMkUYXpAYon.VMZfM/cfMc478rz9YC/ozkEKMk6AvNS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4186 …}
      +apId: "12510198@lemmy.blahaj.zone"
      +apProfileId: "https://lemmy.blahaj.zone/u/12510198"
      +apPublicUrl: "https://lemmy.blahaj.zone/u/12510198"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
      +apDomain: "lemmy.blahaj.zone"
      +apPreferredUsername: "12510198"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729436767 {#4118
        date: 2024-10-20 17:06:07.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690216586 {#4119
        date: 2023-07-24 18:36:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      A person in this thread already recommended having different colors for different conditions like ssh and running as root, I havent seen anyone mention this specifically but you can determine if the current working directory is writable with something like `[ -w “$(pwd)” ]` and set the color to red or print a symbol if it doesnt return true.\n
      \n
      Also I recommend putting all the code and logic for your shell prompt in a shell function, and using a substitution shell to put it into the PS1 variable like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">__shellprompt ()\n
      </span><span style="color:#323232;">{\n
      </span><span style="color:#323232;">\tif [ "$(id -u)" = 0 ]; then\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='#'\n
      </span><span style="color:#323232;">\telse\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='$'\n
      </span><span style="color:#323232;">\tfi\n
      </span><span style="color:#323232;">\tprintf "%s" "$(whoami)@$(uname -n):$(pwd)"\n
      </span><span style="color:#323232;">\tprintf "n%c " "$PROMPT_EMBLEM"\n
      </span><span style="color:#323232;">}\n
      </span><span style="color:#323232;">PS1='$(__shellprompt)'\n
      </span>\n
      ```\n
      \n
      Now this is just a really barebones example, there is a whole lot more you can do like passing in the last exit code through the argv of your shellprompt function like this `PS1=‘$(__shellprompt $?)’` and like print it out if its non-zero so you wont have to like `echo $?` to see if the last command failed, but you should be able to still do this. In my testing, running the shell prompt function in the subsitiution shell didnt effect the $? variable.\n
      \n
      In my first comment on another thread about shell prompts, I posted my full shellprompt, it is slightly outdated (I just changed `hostname` to `uname -n`), if you cant find it feel free to send a message or just ask, and I will send you the code.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699929949 {#4115
      date: 2023-11-14 03:45:49.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4121 …}
    +nested: Doctrine\ORM\PersistentCollection {#4123 …}
    +votes: Doctrine\ORM\PersistentCollection {#4125 …}
    +reports: Doctrine\ORM\PersistentCollection {#4127 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4129 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4131 …}
    -id: 107768
    -bodyTs: "'0':93 'abl':179 'alreadi':6 'also':58 'anoth':205 'anyon':23 'argv':142 'ask':239 'barebon':122 'c':111 'cant':228 'chang':221 'code':64,139,246 'color':10,46 'command':173 'comment':203 'condit':13 'current':33 'determin':30 'didnt':196 'differ':9,12 'directori':35 'doesnt':55 'echo':167 'effect':197 'els':98 'emblem':97,101,113 'exampl':123 'exit':138 'fail':174 'feel':231 'fi':102 'find':229 'first':202 'free':232 'full':213 'function':74,146,191 'havent':21 'hostnam':222 'id':91 'last':137,172 'like':14,40,87,133,147,152,166 'local':95,99 'logic':66 'lot':128 'mention':24 'messag':236 'n':107,110,225 'non':159 'non-zero':158 'outdat':218 'pass':134 'person':2 'post':211 'print':50,153 'printf':103,109 'prompt':70,96,100,112,190,209 'ps1':85,114,149 'put':61,81 'pwd':42,108 'realli':121 'recommend':7,60 'red':48 'return':56 'root':19 'run':17,187 'see':169 'seen':22 'send':234,243 'set':44 'shell':69,73,79,189,195,208 'shellprompt':89,115,145,150,214 'slight':217 'someth':39 'specif':26 'ssh':15 'still':181 'subsitiut':194 'substitut':78 'symbol':52 'test':186 'thread':5,206 'true':57 'u':92 'unam':106,224 'use':76 'variabl':86,199 'w':41 'whoami':105 'whole':127 'wont':163 'work':34 'writabl':37 'zero':160"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4253531"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699627856 {#4116
      date: 2023-11-10 15:50:56.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6527
  +subject: App\Entity\EntryComment {#4120
    +user: App\Entity\User {#4133
      +avatar: null
      +cover: null
      +email: "12510198@lemmy.blahaj.zone"
      +username: "@12510198@lemmy.blahaj.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1725304447 {#4117
        date: 2024-09-02 21:14:07.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4134 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4136 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4138 …}
      +entries: Doctrine\ORM\PersistentCollection {#4140 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4142 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4144 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4146 …}
      +posts: Doctrine\ORM\PersistentCollection {#4148 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4152 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4154 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4156 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4158 …}
      +follows: Doctrine\ORM\PersistentCollection {#4160 …}
      +followers: Doctrine\ORM\PersistentCollection {#4162 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4164 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4166 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4168 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4170 …}
      +reports: Doctrine\ORM\PersistentCollection {#4172 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4174 …}
      +violations: Doctrine\ORM\PersistentCollection {#4176 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
      +awards: Doctrine\ORM\PersistentCollection {#4180 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4182 …}
      +categories: Doctrine\ORM\PersistentCollection {#4184 …}
      -id: 34334
      -password: "$2y$13$dPiOuYKcX5BMkUYXpAYon.VMZfM/cfMc478rz9YC/ozkEKMk6AvNS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4186 …}
      +apId: "12510198@lemmy.blahaj.zone"
      +apProfileId: "https://lemmy.blahaj.zone/u/12510198"
      +apPublicUrl: "https://lemmy.blahaj.zone/u/12510198"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
      +apDomain: "lemmy.blahaj.zone"
      +apPreferredUsername: "12510198"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729436767 {#4118
        date: 2024-10-20 17:06:07.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690216586 {#4119
        date: 2023-07-24 18:36:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      A person in this thread already recommended having different colors for different conditions like ssh and running as root, I havent seen anyone mention this specifically but you can determine if the current working directory is writable with something like `[ -w “$(pwd)” ]` and set the color to red or print a symbol if it doesnt return true.\n
      \n
      Also I recommend putting all the code and logic for your shell prompt in a shell function, and using a substitution shell to put it into the PS1 variable like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">__shellprompt ()\n
      </span><span style="color:#323232;">{\n
      </span><span style="color:#323232;">\tif [ "$(id -u)" = 0 ]; then\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='#'\n
      </span><span style="color:#323232;">\telse\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='$'\n
      </span><span style="color:#323232;">\tfi\n
      </span><span style="color:#323232;">\tprintf "%s" "$(whoami)@$(uname -n):$(pwd)"\n
      </span><span style="color:#323232;">\tprintf "n%c " "$PROMPT_EMBLEM"\n
      </span><span style="color:#323232;">}\n
      </span><span style="color:#323232;">PS1='$(__shellprompt)'\n
      </span>\n
      ```\n
      \n
      Now this is just a really barebones example, there is a whole lot more you can do like passing in the last exit code through the argv of your shellprompt function like this `PS1=‘$(__shellprompt $?)’` and like print it out if its non-zero so you wont have to like `echo $?` to see if the last command failed, but you should be able to still do this. In my testing, running the shell prompt function in the subsitiution shell didnt effect the $? variable.\n
      \n
      In my first comment on another thread about shell prompts, I posted my full shellprompt, it is slightly outdated (I just changed `hostname` to `uname -n`), if you cant find it feel free to send a message or just ask, and I will send you the code.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699929949 {#4115
      date: 2023-11-14 03:45:49.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4121 …}
    +nested: Doctrine\ORM\PersistentCollection {#4123 …}
    +votes: Doctrine\ORM\PersistentCollection {#4125 …}
    +reports: Doctrine\ORM\PersistentCollection {#4127 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4129 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4131 …}
    -id: 107768
    -bodyTs: "'0':93 'abl':179 'alreadi':6 'also':58 'anoth':205 'anyon':23 'argv':142 'ask':239 'barebon':122 'c':111 'cant':228 'chang':221 'code':64,139,246 'color':10,46 'command':173 'comment':203 'condit':13 'current':33 'determin':30 'didnt':196 'differ':9,12 'directori':35 'doesnt':55 'echo':167 'effect':197 'els':98 'emblem':97,101,113 'exampl':123 'exit':138 'fail':174 'feel':231 'fi':102 'find':229 'first':202 'free':232 'full':213 'function':74,146,191 'havent':21 'hostnam':222 'id':91 'last':137,172 'like':14,40,87,133,147,152,166 'local':95,99 'logic':66 'lot':128 'mention':24 'messag':236 'n':107,110,225 'non':159 'non-zero':158 'outdat':218 'pass':134 'person':2 'post':211 'print':50,153 'printf':103,109 'prompt':70,96,100,112,190,209 'ps1':85,114,149 'put':61,81 'pwd':42,108 'realli':121 'recommend':7,60 'red':48 'return':56 'root':19 'run':17,187 'see':169 'seen':22 'send':234,243 'set':44 'shell':69,73,79,189,195,208 'shellprompt':89,115,145,150,214 'slight':217 'someth':39 'specif':26 'ssh':15 'still':181 'subsitiut':194 'substitut':78 'symbol':52 'test':186 'thread':5,206 'true':57 'u':92 'unam':106,224 'use':76 'variabl':86,199 'w':41 'whoami':105 'whole':127 'wont':163 'work':34 'writabl':37 'zero':160"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4253531"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699627856 {#4116
      date: 2023-11-10 15:50:56.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.93 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4120
    +user: App\Entity\User {#4133
      +avatar: null
      +cover: null
      +email: "12510198@lemmy.blahaj.zone"
      +username: "@12510198@lemmy.blahaj.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1725304447 {#4117
        date: 2024-09-02 21:14:07.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4134 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4136 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4138 …}
      +entries: Doctrine\ORM\PersistentCollection {#4140 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4142 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4144 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4146 …}
      +posts: Doctrine\ORM\PersistentCollection {#4148 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4152 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4154 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4156 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4158 …}
      +follows: Doctrine\ORM\PersistentCollection {#4160 …}
      +followers: Doctrine\ORM\PersistentCollection {#4162 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4164 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4166 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4168 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4170 …}
      +reports: Doctrine\ORM\PersistentCollection {#4172 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4174 …}
      +violations: Doctrine\ORM\PersistentCollection {#4176 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
      +awards: Doctrine\ORM\PersistentCollection {#4180 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4182 …}
      +categories: Doctrine\ORM\PersistentCollection {#4184 …}
      -id: 34334
      -password: "$2y$13$dPiOuYKcX5BMkUYXpAYon.VMZfM/cfMc478rz9YC/ozkEKMk6AvNS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4186 …}
      +apId: "12510198@lemmy.blahaj.zone"
      +apProfileId: "https://lemmy.blahaj.zone/u/12510198"
      +apPublicUrl: "https://lemmy.blahaj.zone/u/12510198"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
      +apDomain: "lemmy.blahaj.zone"
      +apPreferredUsername: "12510198"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729436767 {#4118
        date: 2024-10-20 17:06:07.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690216586 {#4119
        date: 2023-07-24 18:36:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      A person in this thread already recommended having different colors for different conditions like ssh and running as root, I havent seen anyone mention this specifically but you can determine if the current working directory is writable with something like `[ -w “$(pwd)” ]` and set the color to red or print a symbol if it doesnt return true.\n
      \n
      Also I recommend putting all the code and logic for your shell prompt in a shell function, and using a substitution shell to put it into the PS1 variable like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">__shellprompt ()\n
      </span><span style="color:#323232;">{\n
      </span><span style="color:#323232;">\tif [ "$(id -u)" = 0 ]; then\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='#'\n
      </span><span style="color:#323232;">\telse\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='$'\n
      </span><span style="color:#323232;">\tfi\n
      </span><span style="color:#323232;">\tprintf "%s" "$(whoami)@$(uname -n):$(pwd)"\n
      </span><span style="color:#323232;">\tprintf "n%c " "$PROMPT_EMBLEM"\n
      </span><span style="color:#323232;">}\n
      </span><span style="color:#323232;">PS1='$(__shellprompt)'\n
      </span>\n
      ```\n
      \n
      Now this is just a really barebones example, there is a whole lot more you can do like passing in the last exit code through the argv of your shellprompt function like this `PS1=‘$(__shellprompt $?)’` and like print it out if its non-zero so you wont have to like `echo $?` to see if the last command failed, but you should be able to still do this. In my testing, running the shell prompt function in the subsitiution shell didnt effect the $? variable.\n
      \n
      In my first comment on another thread about shell prompts, I posted my full shellprompt, it is slightly outdated (I just changed `hostname` to `uname -n`), if you cant find it feel free to send a message or just ask, and I will send you the code.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699929949 {#4115
      date: 2023-11-14 03:45:49.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4121 …}
    +nested: Doctrine\ORM\PersistentCollection {#4123 …}
    +votes: Doctrine\ORM\PersistentCollection {#4125 …}
    +reports: Doctrine\ORM\PersistentCollection {#4127 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4129 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4131 …}
    -id: 107768
    -bodyTs: "'0':93 'abl':179 'alreadi':6 'also':58 'anoth':205 'anyon':23 'argv':142 'ask':239 'barebon':122 'c':111 'cant':228 'chang':221 'code':64,139,246 'color':10,46 'command':173 'comment':203 'condit':13 'current':33 'determin':30 'didnt':196 'differ':9,12 'directori':35 'doesnt':55 'echo':167 'effect':197 'els':98 'emblem':97,101,113 'exampl':123 'exit':138 'fail':174 'feel':231 'fi':102 'find':229 'first':202 'free':232 'full':213 'function':74,146,191 'havent':21 'hostnam':222 'id':91 'last':137,172 'like':14,40,87,133,147,152,166 'local':95,99 'logic':66 'lot':128 'mention':24 'messag':236 'n':107,110,225 'non':159 'non-zero':158 'outdat':218 'pass':134 'person':2 'post':211 'print':50,153 'printf':103,109 'prompt':70,96,100,112,190,209 'ps1':85,114,149 'put':61,81 'pwd':42,108 'realli':121 'recommend':7,60 'red':48 'return':56 'root':19 'run':17,187 'see':169 'seen':22 'send':234,243 'set':44 'shell':69,73,79,189,195,208 'shellprompt':89,115,145,150,214 'slight':217 'someth':39 'specif':26 'ssh':15 'still':181 'subsitiut':194 'substitut':78 'symbol':52 'test':186 'thread':5,206 'true':57 'u':92 'unam':106,224 'use':76 'variabl':86,199 'w':41 'whoami':105 'whole':127 'wont':163 'work':34 'writabl':37 'zero':160"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4253531"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699627856 {#4116
      date: 2023-11-10 15:50:56.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6584
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4120
    +user: App\Entity\User {#4133
      +avatar: null
      +cover: null
      +email: "12510198@lemmy.blahaj.zone"
      +username: "@12510198@lemmy.blahaj.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1725304447 {#4117
        date: 2024-09-02 21:14:07.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4134 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4136 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4138 …}
      +entries: Doctrine\ORM\PersistentCollection {#4140 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4142 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4144 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4146 …}
      +posts: Doctrine\ORM\PersistentCollection {#4148 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4152 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4154 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4156 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4158 …}
      +follows: Doctrine\ORM\PersistentCollection {#4160 …}
      +followers: Doctrine\ORM\PersistentCollection {#4162 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4164 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4166 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4168 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4170 …}
      +reports: Doctrine\ORM\PersistentCollection {#4172 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4174 …}
      +violations: Doctrine\ORM\PersistentCollection {#4176 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
      +awards: Doctrine\ORM\PersistentCollection {#4180 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4182 …}
      +categories: Doctrine\ORM\PersistentCollection {#4184 …}
      -id: 34334
      -password: "$2y$13$dPiOuYKcX5BMkUYXpAYon.VMZfM/cfMc478rz9YC/ozkEKMk6AvNS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4186 …}
      +apId: "12510198@lemmy.blahaj.zone"
      +apProfileId: "https://lemmy.blahaj.zone/u/12510198"
      +apPublicUrl: "https://lemmy.blahaj.zone/u/12510198"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
      +apDomain: "lemmy.blahaj.zone"
      +apPreferredUsername: "12510198"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729436767 {#4118
        date: 2024-10-20 17:06:07.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690216586 {#4119
        date: 2023-07-24 18:36:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      A person in this thread already recommended having different colors for different conditions like ssh and running as root, I havent seen anyone mention this specifically but you can determine if the current working directory is writable with something like `[ -w “$(pwd)” ]` and set the color to red or print a symbol if it doesnt return true.\n
      \n
      Also I recommend putting all the code and logic for your shell prompt in a shell function, and using a substitution shell to put it into the PS1 variable like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">__shellprompt ()\n
      </span><span style="color:#323232;">{\n
      </span><span style="color:#323232;">\tif [ "$(id -u)" = 0 ]; then\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='#'\n
      </span><span style="color:#323232;">\telse\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='$'\n
      </span><span style="color:#323232;">\tfi\n
      </span><span style="color:#323232;">\tprintf "%s" "$(whoami)@$(uname -n):$(pwd)"\n
      </span><span style="color:#323232;">\tprintf "n%c " "$PROMPT_EMBLEM"\n
      </span><span style="color:#323232;">}\n
      </span><span style="color:#323232;">PS1='$(__shellprompt)'\n
      </span>\n
      ```\n
      \n
      Now this is just a really barebones example, there is a whole lot more you can do like passing in the last exit code through the argv of your shellprompt function like this `PS1=‘$(__shellprompt $?)’` and like print it out if its non-zero so you wont have to like `echo $?` to see if the last command failed, but you should be able to still do this. In my testing, running the shell prompt function in the subsitiution shell didnt effect the $? variable.\n
      \n
      In my first comment on another thread about shell prompts, I posted my full shellprompt, it is slightly outdated (I just changed `hostname` to `uname -n`), if you cant find it feel free to send a message or just ask, and I will send you the code.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699929949 {#4115
      date: 2023-11-14 03:45:49.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4121 …}
    +nested: Doctrine\ORM\PersistentCollection {#4123 …}
    +votes: Doctrine\ORM\PersistentCollection {#4125 …}
    +reports: Doctrine\ORM\PersistentCollection {#4127 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4129 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4131 …}
    -id: 107768
    -bodyTs: "'0':93 'abl':179 'alreadi':6 'also':58 'anoth':205 'anyon':23 'argv':142 'ask':239 'barebon':122 'c':111 'cant':228 'chang':221 'code':64,139,246 'color':10,46 'command':173 'comment':203 'condit':13 'current':33 'determin':30 'didnt':196 'differ':9,12 'directori':35 'doesnt':55 'echo':167 'effect':197 'els':98 'emblem':97,101,113 'exampl':123 'exit':138 'fail':174 'feel':231 'fi':102 'find':229 'first':202 'free':232 'full':213 'function':74,146,191 'havent':21 'hostnam':222 'id':91 'last':137,172 'like':14,40,87,133,147,152,166 'local':95,99 'logic':66 'lot':128 'mention':24 'messag':236 'n':107,110,225 'non':159 'non-zero':158 'outdat':218 'pass':134 'person':2 'post':211 'print':50,153 'printf':103,109 'prompt':70,96,100,112,190,209 'ps1':85,114,149 'put':61,81 'pwd':42,108 'realli':121 'recommend':7,60 'red':48 'return':56 'root':19 'run':17,187 'see':169 'seen':22 'send':234,243 'set':44 'shell':69,73,79,189,195,208 'shellprompt':89,115,145,150,214 'slight':217 'someth':39 'specif':26 'ssh':15 'still':181 'subsitiut':194 'substitut':78 'symbol':52 'test':186 'thread':5,206 'true':57 'u':92 'unam':106,224 'use':76 'variabl':86,199 'w':41 'whoami':105 'whole':127 'wont':163 'work':34 'writabl':37 'zero':160"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4253531"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699627856 {#4116
      date: 2023-11-10 15:50:56.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 1.27 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4120
    +user: App\Entity\User {#4133
      +avatar: null
      +cover: null
      +email: "12510198@lemmy.blahaj.zone"
      +username: "@12510198@lemmy.blahaj.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1725304447 {#4117
        date: 2024-09-02 21:14:07.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4134 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4136 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4138 …}
      +entries: Doctrine\ORM\PersistentCollection {#4140 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4142 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4144 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4146 …}
      +posts: Doctrine\ORM\PersistentCollection {#4148 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4152 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4154 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4156 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4158 …}
      +follows: Doctrine\ORM\PersistentCollection {#4160 …}
      +followers: Doctrine\ORM\PersistentCollection {#4162 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4164 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4166 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4168 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4170 …}
      +reports: Doctrine\ORM\PersistentCollection {#4172 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4174 …}
      +violations: Doctrine\ORM\PersistentCollection {#4176 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
      +awards: Doctrine\ORM\PersistentCollection {#4180 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4182 …}
      +categories: Doctrine\ORM\PersistentCollection {#4184 …}
      -id: 34334
      -password: "$2y$13$dPiOuYKcX5BMkUYXpAYon.VMZfM/cfMc478rz9YC/ozkEKMk6AvNS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4186 …}
      +apId: "12510198@lemmy.blahaj.zone"
      +apProfileId: "https://lemmy.blahaj.zone/u/12510198"
      +apPublicUrl: "https://lemmy.blahaj.zone/u/12510198"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
      +apDomain: "lemmy.blahaj.zone"
      +apPreferredUsername: "12510198"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729436767 {#4118
        date: 2024-10-20 17:06:07.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690216586 {#4119
        date: 2023-07-24 18:36:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      A person in this thread already recommended having different colors for different conditions like ssh and running as root, I havent seen anyone mention this specifically but you can determine if the current working directory is writable with something like `[ -w “$(pwd)” ]` and set the color to red or print a symbol if it doesnt return true.\n
      \n
      Also I recommend putting all the code and logic for your shell prompt in a shell function, and using a substitution shell to put it into the PS1 variable like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">__shellprompt ()\n
      </span><span style="color:#323232;">{\n
      </span><span style="color:#323232;">\tif [ "$(id -u)" = 0 ]; then\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='#'\n
      </span><span style="color:#323232;">\telse\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='$'\n
      </span><span style="color:#323232;">\tfi\n
      </span><span style="color:#323232;">\tprintf "%s" "$(whoami)@$(uname -n):$(pwd)"\n
      </span><span style="color:#323232;">\tprintf "n%c " "$PROMPT_EMBLEM"\n
      </span><span style="color:#323232;">}\n
      </span><span style="color:#323232;">PS1='$(__shellprompt)'\n
      </span>\n
      ```\n
      \n
      Now this is just a really barebones example, there is a whole lot more you can do like passing in the last exit code through the argv of your shellprompt function like this `PS1=‘$(__shellprompt $?)’` and like print it out if its non-zero so you wont have to like `echo $?` to see if the last command failed, but you should be able to still do this. In my testing, running the shell prompt function in the subsitiution shell didnt effect the $? variable.\n
      \n
      In my first comment on another thread about shell prompts, I posted my full shellprompt, it is slightly outdated (I just changed `hostname` to `uname -n`), if you cant find it feel free to send a message or just ask, and I will send you the code.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699929949 {#4115
      date: 2023-11-14 03:45:49.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4121 …}
    +nested: Doctrine\ORM\PersistentCollection {#4123 …}
    +votes: Doctrine\ORM\PersistentCollection {#4125 …}
    +reports: Doctrine\ORM\PersistentCollection {#4127 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4129 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4131 …}
    -id: 107768
    -bodyTs: "'0':93 'abl':179 'alreadi':6 'also':58 'anoth':205 'anyon':23 'argv':142 'ask':239 'barebon':122 'c':111 'cant':228 'chang':221 'code':64,139,246 'color':10,46 'command':173 'comment':203 'condit':13 'current':33 'determin':30 'didnt':196 'differ':9,12 'directori':35 'doesnt':55 'echo':167 'effect':197 'els':98 'emblem':97,101,113 'exampl':123 'exit':138 'fail':174 'feel':231 'fi':102 'find':229 'first':202 'free':232 'full':213 'function':74,146,191 'havent':21 'hostnam':222 'id':91 'last':137,172 'like':14,40,87,133,147,152,166 'local':95,99 'logic':66 'lot':128 'mention':24 'messag':236 'n':107,110,225 'non':159 'non-zero':158 'outdat':218 'pass':134 'person':2 'post':211 'print':50,153 'printf':103,109 'prompt':70,96,100,112,190,209 'ps1':85,114,149 'put':61,81 'pwd':42,108 'realli':121 'recommend':7,60 'red':48 'return':56 'root':19 'run':17,187 'see':169 'seen':22 'send':234,243 'set':44 'shell':69,73,79,189,195,208 'shellprompt':89,115,145,150,214 'slight':217 'someth':39 'specif':26 'ssh':15 'still':181 'subsitiut':194 'substitut':78 'symbol':52 'test':186 'thread':5,206 'true':57 'u':92 'unam':106,224 'use':76 'variabl':86,199 'w':41 'whoami':105 'whole':127 'wont':163 'work':34 'writabl':37 'zero':160"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4253531"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699627856 {#4116
      date: 2023-11-10 15:50:56.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6824
  +comment: App\Entity\EntryComment {#4120
    +user: App\Entity\User {#4133
      +avatar: null
      +cover: null
      +email: "12510198@lemmy.blahaj.zone"
      +username: "@12510198@lemmy.blahaj.zone"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1725304447 {#4117
        date: 2024-09-02 21:14:07.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4134 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4136 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4138 …}
      +entries: Doctrine\ORM\PersistentCollection {#4140 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4142 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4144 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4146 …}
      +posts: Doctrine\ORM\PersistentCollection {#4148 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4150 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4152 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4154 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4156 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4158 …}
      +follows: Doctrine\ORM\PersistentCollection {#4160 …}
      +followers: Doctrine\ORM\PersistentCollection {#4162 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4164 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4166 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4168 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4170 …}
      +reports: Doctrine\ORM\PersistentCollection {#4172 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4174 …}
      +violations: Doctrine\ORM\PersistentCollection {#4176 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
      +awards: Doctrine\ORM\PersistentCollection {#4180 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4182 …}
      +categories: Doctrine\ORM\PersistentCollection {#4184 …}
      -id: 34334
      -password: "$2y$13$dPiOuYKcX5BMkUYXpAYon.VMZfM/cfMc478rz9YC/ozkEKMk6AvNS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4186 …}
      +apId: "12510198@lemmy.blahaj.zone"
      +apProfileId: "https://lemmy.blahaj.zone/u/12510198"
      +apPublicUrl: "https://lemmy.blahaj.zone/u/12510198"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.blahaj.zone/inbox"
      +apDomain: "lemmy.blahaj.zone"
      +apPreferredUsername: "12510198"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729436767 {#4118
        date: 2024-10-20 17:06:07.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690216586 {#4119
        date: 2023-07-24 18:36:26.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      A person in this thread already recommended having different colors for different conditions like ssh and running as root, I havent seen anyone mention this specifically but you can determine if the current working directory is writable with something like `[ -w “$(pwd)” ]` and set the color to red or print a symbol if it doesnt return true.\n
      \n
      Also I recommend putting all the code and logic for your shell prompt in a shell function, and using a substitution shell to put it into the PS1 variable like this:\n
      \n
      ```\n
      \n
      <span style="color:#323232;">__shellprompt ()\n
      </span><span style="color:#323232;">{\n
      </span><span style="color:#323232;">\tif [ "$(id -u)" = 0 ]; then\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='#'\n
      </span><span style="color:#323232;">\telse\n
      </span><span style="color:#323232;">\t\tlocal PROMPT_EMBLEM='$'\n
      </span><span style="color:#323232;">\tfi\n
      </span><span style="color:#323232;">\tprintf "%s" "$(whoami)@$(uname -n):$(pwd)"\n
      </span><span style="color:#323232;">\tprintf "n%c " "$PROMPT_EMBLEM"\n
      </span><span style="color:#323232;">}\n
      </span><span style="color:#323232;">PS1='$(__shellprompt)'\n
      </span>\n
      ```\n
      \n
      Now this is just a really barebones example, there is a whole lot more you can do like passing in the last exit code through the argv of your shellprompt function like this `PS1=‘$(__shellprompt $?)’` and like print it out if its non-zero so you wont have to like `echo $?` to see if the last command failed, but you should be able to still do this. In my testing, running the shell prompt function in the subsitiution shell didnt effect the $? variable.\n
      \n
      In my first comment on another thread about shell prompts, I posted my full shellprompt, it is slightly outdated (I just changed `hostname` to `uname -n`), if you cant find it feel free to send a message or just ask, and I will send you the code.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699929949 {#4115
      date: 2023-11-14 03:45:49.0 +01:00
    }
    +ip: null
    +tags: [
      "323232"
    ]
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4121 …}
    +nested: Doctrine\ORM\PersistentCollection {#4123 …}
    +votes: Doctrine\ORM\PersistentCollection {#4125 …}
    +reports: Doctrine\ORM\PersistentCollection {#4127 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4129 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4131 …}
    -id: 107768
    -bodyTs: "'0':93 'abl':179 'alreadi':6 'also':58 'anoth':205 'anyon':23 'argv':142 'ask':239 'barebon':122 'c':111 'cant':228 'chang':221 'code':64,139,246 'color':10,46 'command':173 'comment':203 'condit':13 'current':33 'determin':30 'didnt':196 'differ':9,12 'directori':35 'doesnt':55 'echo':167 'effect':197 'els':98 'emblem':97,101,113 'exampl':123 'exit':138 'fail':174 'feel':231 'fi':102 'find':229 'first':202 'free':232 'full':213 'function':74,146,191 'havent':21 'hostnam':222 'id':91 'last':137,172 'like':14,40,87,133,147,152,166 'local':95,99 'logic':66 'lot':128 'mention':24 'messag':236 'n':107,110,225 'non':159 'non-zero':158 'outdat':218 'pass':134 'person':2 'post':211 'print':50,153 'printf':103,109 'prompt':70,96,100,112,190,209 'ps1':85,114,149 'put':61,81 'pwd':42,108 'realli':121 'recommend':7,60 'red':48 'return':56 'root':19 'run':17,187 'see':169 'seen':22 'send':234,243 'set':44 'shell':69,73,79,189,195,208 'shellprompt':89,115,145,150,214 'slight':217 'someth':39 'specif':26 'ssh':15 'still':181 'subsitiut':194 'substitut':78 'symbol':52 'test':186 'thread':5,206 'true':57 'u':92 'unam':106,224 'use':76 'variabl':86,199 'w':41 'whoami':105 'whole':127 'wont':163 'work':34 'writabl':37 'zero':160"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.blahaj.zone/comment/4253531"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699627856 {#4116
      date: 2023-11-10 15:50:56.0 +01:00
    }
  }
  +nestedComments: [
    115603 => App\Entity\EntryComment {#4860
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4822
        +user: App\Entity\User {#4133}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: App\Entity\EntryComment {#4784
          +user: Proxies\__CG__\App\Entity\User {#1970 …2}
          +entry: App\Entity\Entry {#2419}
          +magazine: App\Entity\Magazine {#265}
          +image: null
          +parent: App\Entity\EntryComment {#4120}
          +root: App\Entity\EntryComment {#4120}
          +body: """
            Wow, thank you very much! :-)\n
            \n
            This example is very enlightening. I was kind of aware that one could run shell functions and even use a GIT function in my prompt, but I never thought it through and your example brings the point home.\n
            \n
            I’ll waste most probably a few hours to find my perfect prompt function!\n
            \n
            (Mandatory xkcd link [Nerd Sniping](https://xkcd.com/356/))
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 1
          +score: 0
          +lastActive: DateTime @1699745737 {#4782
            date: 2023-11-12 00:35:37.0 +01:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@wolf@lemmy.zip"
            "@12510198@lemmy.blahaj.zone"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4785 …}
          +nested: Doctrine\ORM\PersistentCollection {#4787 …}
          +votes: Doctrine\ORM\PersistentCollection {#4789 …}
          +reports: Doctrine\ORM\PersistentCollection {#4791 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4793 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4795 …}
          -id: 113488
          -bodyTs: "'/356/))':65 'awar':15 'bring':40 'could':18 'enlighten':10 'even':23 'exampl':7,39 'find':53 'function':21,27,57 'git':26 'home':43 'hour':51 'kind':13 'link':60 'll':45 'mandatori':58 'much':5 'nerd':61 'never':33 'one':17 'perfect':55 'point':42 'probabl':48 'prompt':30,56 'run':19 'shell':20 'snipe':62 'thank':2 'thought':34 'use':24 'wast':46 'wow':1 'xkcd':59 'xkcd.com':64 'xkcd.com/356/))':63"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.zip/comment/4574993"
          +editedAt: null
          +createdAt: DateTimeImmutable @1699745737 {#4783
            date: 2023-11-12 00:35:37.0 +01:00
          }
        }
        +root: App\Entity\EntryComment {#4120}
        +body: """
          Im glad I was able to help!\n
          \n
          Something that should be noted when adding colors to your shell prompt function is adding the non printable characters that keep the terminal from buggin out, this caused me a massive headache until I figured it out. When putting it in the PS1 variable directly you will put `[` to begin a color sequence and `]` to end one, but printf will print a literal `[` and `]` so instead you will have to use `
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1699766191 {#4820
          date: 2023-11-12 06:16:31.0 +01:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@wolf@lemmy.zip"
          "@12510198@lemmy.blahaj.zone"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4823 …}
        +nested: Doctrine\ORM\PersistentCollection {#4825 …}
        +votes: Doctrine\ORM\PersistentCollection {#4827 …}
        +reports: Doctrine\ORM\PersistentCollection {#4829 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4831 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4833 …}
        -id: 114396
        -bodyTs: "'abl':5 'ad':14,22 'begin':57 'buggin':32 'caus':35 'charact':26 'color':15,59 'direct':52 'end':63 'figur':42 'function':20 'glad':2 'headach':39 'help':7 'im':1 'instead':73 'keep':28 'liter':70 'massiv':38 'non':24 'note':12 'one':64 'print':68 'printabl':25 'printf':66 'prompt':19 'ps1':50 'put':46,55 'sequenc':60 'shell':18 'someth':8 'termin':30 'use':78 'variabl':51"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.blahaj.zone/comment/4295802"
        +editedAt: null
        +createdAt: DateTimeImmutable @1699766191 {#4821
          date: 2023-11-12 06:16:31.0 +01:00
        }
      }
      +root: App\Entity\EntryComment {#4120}
      +body: """
        Thanks, of course the color escapes are the first thing I ran into yesterday, when I played around with prompt functions. ;-)\n
        \n
        Porting your prompt command to another language is a very nice and practical little project, perhaps I will give it a go with Go. (Pun intended ;-))\n
        \n
        Have a great week!
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1699798872 {#4861
        date: 2023-11-12 15:21:12.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@wolf@lemmy.zip"
        "@12510198@lemmy.blahaj.zone"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4857 …}
      +nested: Doctrine\ORM\PersistentCollection {#4853 …}
      +votes: Doctrine\ORM\PersistentCollection {#4851 …}
      +reports: Doctrine\ORM\PersistentCollection {#4866 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4868 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4870 …}
      -id: 115603
      -bodyTs: "'anoth':27 'around':18 'color':5 'command':25 'cours':3 'escap':6 'first':9 'function':21 'give':40 'go':43,45 'great':50 'intend':47 'languag':28 'littl':35 'nice':32 'perhap':37 'play':17 'port':22 'practic':34 'project':36 'prompt':20,24 'pun':46 'ran':12 'thank':1 'thing':10 'week':51 'yesterday':14"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.zip/comment/4591944"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699798872 {#4864
        date: 2023-11-12 15:21:12.0 +01:00
      }
    }
    114396 => App\Entity\EntryComment {#4822}
    113488 => App\Entity\EntryComment {#4784}
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 74.29 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4194
    +user: App\Entity\User {#4207
      +avatar: null
      +cover: null
      +email: "Knusper@feddit.de"
      +username: "@Knusper@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1705077404 {#4191
        date: 2024-01-12 17:36:44.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4208 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4210 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4212 …}
      +entries: Doctrine\ORM\PersistentCollection {#4214 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4216 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +posts: Doctrine\ORM\PersistentCollection {#4222 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4226 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4230 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4232 …}
      +follows: Doctrine\ORM\PersistentCollection {#4234 …}
      +followers: Doctrine\ORM\PersistentCollection {#4236 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4238 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4244 …}
      +reports: Doctrine\ORM\PersistentCollection {#4246 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4248 …}
      +violations: Doctrine\ORM\PersistentCollection {#4250 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4252 …}
      +awards: Doctrine\ORM\PersistentCollection {#4254 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4256 …}
      +categories: Doctrine\ORM\PersistentCollection {#4258 …}
      -id: 1100
      -password: "$2y$13$x0rgeQ2v49nTNv3bdNkmzuXJOXZHMM6wRDFYfprY5GO7cVHvpHnzS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4260 …}
      +apId: "Knusper@feddit.de"
      +apProfileId: "https://feddit.de/u/Knusper"
      +apPublicUrl: "https://feddit.de/u/Knusper"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Knusper"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721519224 {#4192
        date: 2024-07-21 01:47:04.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686971992 {#4193
        date: 2023-06-17 05:19:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I can recommend [Starship](https://starship.rs/)."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1699688150 {#4188
      date: 2023-11-11 08:35:50.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4195 …}
    +nested: Doctrine\ORM\PersistentCollection {#4197 …}
    +votes: Doctrine\ORM\PersistentCollection {#4199 …}
    +reports: Doctrine\ORM\PersistentCollection {#4201 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4203 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4205 …}
    -id: 106698
    -bodyTs: "'/).':7 'recommend':3 'starship':4 'starship.rs':6 'starship.rs/).':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4678629"
    +editedAt: DateTimeImmutable @1699669980 {#4189
      date: 2023-11-11 03:33:00.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699595437 {#4190
      date: 2023-11-10 06:50:37.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6892
  +comment: App\Entity\EntryComment {#4194
    +user: App\Entity\User {#4207
      +avatar: null
      +cover: null
      +email: "Knusper@feddit.de"
      +username: "@Knusper@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1705077404 {#4191
        date: 2024-01-12 17:36:44.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4208 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4210 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4212 …}
      +entries: Doctrine\ORM\PersistentCollection {#4214 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4216 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +posts: Doctrine\ORM\PersistentCollection {#4222 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4226 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4230 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4232 …}
      +follows: Doctrine\ORM\PersistentCollection {#4234 …}
      +followers: Doctrine\ORM\PersistentCollection {#4236 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4238 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4244 …}
      +reports: Doctrine\ORM\PersistentCollection {#4246 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4248 …}
      +violations: Doctrine\ORM\PersistentCollection {#4250 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4252 …}
      +awards: Doctrine\ORM\PersistentCollection {#4254 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4256 …}
      +categories: Doctrine\ORM\PersistentCollection {#4258 …}
      -id: 1100
      -password: "$2y$13$x0rgeQ2v49nTNv3bdNkmzuXJOXZHMM6wRDFYfprY5GO7cVHvpHnzS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4260 …}
      +apId: "Knusper@feddit.de"
      +apProfileId: "https://feddit.de/u/Knusper"
      +apPublicUrl: "https://feddit.de/u/Knusper"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Knusper"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721519224 {#4192
        date: 2024-07-21 01:47:04.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686971992 {#4193
        date: 2023-06-17 05:19:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I can recommend [Starship](https://starship.rs/)."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1699688150 {#4188
      date: 2023-11-11 08:35:50.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4195 …}
    +nested: Doctrine\ORM\PersistentCollection {#4197 …}
    +votes: Doctrine\ORM\PersistentCollection {#4199 …}
    +reports: Doctrine\ORM\PersistentCollection {#4201 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4203 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4205 …}
    -id: 106698
    -bodyTs: "'/).':7 'recommend':3 'starship':4 'starship.rs':6 'starship.rs/).':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4678629"
    +editedAt: DateTimeImmutable @1699669980 {#4189
      date: 2023-11-11 03:33:00.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699595437 {#4190
      date: 2023-11-10 06:50:37.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.22 ms
Input props
[
  "user" => App\Entity\User {#4207
    +avatar: null
    +cover: null
    +email: "Knusper@feddit.de"
    +username: "@Knusper@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1705077404 {#4191
      date: 2024-01-12 17:36:44.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4208 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4210 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4212 …}
    +entries: Doctrine\ORM\PersistentCollection {#4214 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4216 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4218 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4220 …}
    +posts: Doctrine\ORM\PersistentCollection {#4222 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4224 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4226 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4228 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4230 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4232 …}
    +follows: Doctrine\ORM\PersistentCollection {#4234 …}
    +followers: Doctrine\ORM\PersistentCollection {#4236 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4238 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4240 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4242 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4244 …}
    +reports: Doctrine\ORM\PersistentCollection {#4246 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4248 …}
    +violations: Doctrine\ORM\PersistentCollection {#4250 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4252 …}
    +awards: Doctrine\ORM\PersistentCollection {#4254 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4256 …}
    +categories: Doctrine\ORM\PersistentCollection {#4258 …}
    -id: 1100
    -password: "$2y$13$x0rgeQ2v49nTNv3bdNkmzuXJOXZHMM6wRDFYfprY5GO7cVHvpHnzS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4260 …}
    +apId: "Knusper@feddit.de"
    +apProfileId: "https://feddit.de/u/Knusper"
    +apPublicUrl: "https://feddit.de/u/Knusper"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Knusper"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721519224 {#4192
      date: 2024-07-21 01:47:04.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686971992 {#4193
      date: 2023-06-17 05:19:52.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#6937
  +user: App\Entity\User {#4207
    +avatar: null
    +cover: null
    +email: "Knusper@feddit.de"
    +username: "@Knusper@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1705077404 {#4191
      date: 2024-01-12 17:36:44.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4208 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4210 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4212 …}
    +entries: Doctrine\ORM\PersistentCollection {#4214 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4216 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4218 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4220 …}
    +posts: Doctrine\ORM\PersistentCollection {#4222 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4224 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4226 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4228 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4230 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4232 …}
    +follows: Doctrine\ORM\PersistentCollection {#4234 …}
    +followers: Doctrine\ORM\PersistentCollection {#4236 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4238 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4240 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4242 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4244 …}
    +reports: Doctrine\ORM\PersistentCollection {#4246 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4248 …}
    +violations: Doctrine\ORM\PersistentCollection {#4250 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4252 …}
    +awards: Doctrine\ORM\PersistentCollection {#4254 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4256 …}
    +categories: Doctrine\ORM\PersistentCollection {#4258 …}
    -id: 1100
    -password: "$2y$13$x0rgeQ2v49nTNv3bdNkmzuXJOXZHMM6wRDFYfprY5GO7cVHvpHnzS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4260 …}
    +apId: "Knusper@feddit.de"
    +apProfileId: "https://feddit.de/u/Knusper"
    +apPublicUrl: "https://feddit.de/u/Knusper"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Knusper"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721519224 {#4192
      date: 2024-07-21 01:47:04.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686971992 {#4193
      date: 2023-06-17 05:19:52.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.19 ms
Input props
[
  "date" => DateTimeImmutable @1699595437 {#4190
    date: 2023-11-10 06:50:37.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6992
  +date: DateTimeImmutable @1699595437 {#4190
    date: 2023-11-10 06:50:37.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.22 ms
Input props
[
  "createdAt" => DateTimeImmutable @1699595437 {#4190
    date: 2023-11-10 06:50:37.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1699669980 {#4189
    date: 2023-11-11 03:33:00.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7046
  +createdAt: DateTimeImmutable @1699595437 {#4190
    date: 2023-11-10 06:50:37.0 +01:00
  }
  +editedAt: DateTimeImmutable @1699669980 {#4189
    date: 2023-11-11 03:33:00.0 +01:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 18.54 ms
Input props
[
  "user" => App\Entity\User {#4207
    +avatar: null
    +cover: null
    +email: "Knusper@feddit.de"
    +username: "@Knusper@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1705077404 {#4191
      date: 2024-01-12 17:36:44.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4208 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4210 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4212 …}
    +entries: Doctrine\ORM\PersistentCollection {#4214 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4216 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4218 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4220 …}
    +posts: Doctrine\ORM\PersistentCollection {#4222 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4224 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4226 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4228 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4230 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4232 …}
    +follows: Doctrine\ORM\PersistentCollection {#4234 …}
    +followers: Doctrine\ORM\PersistentCollection {#4236 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4238 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4240 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4242 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4244 …}
    +reports: Doctrine\ORM\PersistentCollection {#4246 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4248 …}
    +violations: Doctrine\ORM\PersistentCollection {#4250 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4252 …}
    +awards: Doctrine\ORM\PersistentCollection {#4254 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4256 …}
    +categories: Doctrine\ORM\PersistentCollection {#4258 …}
    -id: 1100
    -password: "$2y$13$x0rgeQ2v49nTNv3bdNkmzuXJOXZHMM6wRDFYfprY5GO7cVHvpHnzS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4260 …}
    +apId: "Knusper@feddit.de"
    +apProfileId: "https://feddit.de/u/Knusper"
    +apPublicUrl: "https://feddit.de/u/Knusper"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Knusper"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721519224 {#4192
      date: 2024-07-21 01:47:04.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686971992 {#4193
      date: 2023-06-17 05:19:52.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7100
  +width: 40
  +height: 40
  +user: App\Entity\User {#4207
    +avatar: null
    +cover: null
    +email: "Knusper@feddit.de"
    +username: "@Knusper@feddit.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1705077404 {#4191
      date: 2024-01-12 17:36:44.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4208 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4210 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4212 …}
    +entries: Doctrine\ORM\PersistentCollection {#4214 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4216 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4218 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4220 …}
    +posts: Doctrine\ORM\PersistentCollection {#4222 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4224 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4226 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4228 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4230 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4232 …}
    +follows: Doctrine\ORM\PersistentCollection {#4234 …}
    +followers: Doctrine\ORM\PersistentCollection {#4236 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4238 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4240 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4242 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4244 …}
    +reports: Doctrine\ORM\PersistentCollection {#4246 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4248 …}
    +violations: Doctrine\ORM\PersistentCollection {#4250 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4252 …}
    +awards: Doctrine\ORM\PersistentCollection {#4254 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4256 …}
    +categories: Doctrine\ORM\PersistentCollection {#4258 …}
    -id: 1100
    -password: "$2y$13$x0rgeQ2v49nTNv3bdNkmzuXJOXZHMM6wRDFYfprY5GO7cVHvpHnzS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4260 …}
    +apId: "Knusper@feddit.de"
    +apProfileId: "https://feddit.de/u/Knusper"
    +apPublicUrl: "https://feddit.de/u/Knusper"
    +apFollowersUrl: null
    +apInboxUrl: "https://feddit.de/inbox"
    +apDomain: "feddit.de"
    +apPreferredUsername: "Knusper"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1721519224 {#4192
      date: 2024-07-21 01:47:04.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686971992 {#4193
      date: 2023-06-17 05:19:52.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.48 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4194
    +user: App\Entity\User {#4207
      +avatar: null
      +cover: null
      +email: "Knusper@feddit.de"
      +username: "@Knusper@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1705077404 {#4191
        date: 2024-01-12 17:36:44.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4208 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4210 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4212 …}
      +entries: Doctrine\ORM\PersistentCollection {#4214 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4216 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +posts: Doctrine\ORM\PersistentCollection {#4222 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4226 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4230 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4232 …}
      +follows: Doctrine\ORM\PersistentCollection {#4234 …}
      +followers: Doctrine\ORM\PersistentCollection {#4236 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4238 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4244 …}
      +reports: Doctrine\ORM\PersistentCollection {#4246 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4248 …}
      +violations: Doctrine\ORM\PersistentCollection {#4250 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4252 …}
      +awards: Doctrine\ORM\PersistentCollection {#4254 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4256 …}
      +categories: Doctrine\ORM\PersistentCollection {#4258 …}
      -id: 1100
      -password: "$2y$13$x0rgeQ2v49nTNv3bdNkmzuXJOXZHMM6wRDFYfprY5GO7cVHvpHnzS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4260 …}
      +apId: "Knusper@feddit.de"
      +apProfileId: "https://feddit.de/u/Knusper"
      +apPublicUrl: "https://feddit.de/u/Knusper"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Knusper"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721519224 {#4192
        date: 2024-07-21 01:47:04.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686971992 {#4193
        date: 2023-06-17 05:19:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I can recommend [Starship](https://starship.rs/)."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1699688150 {#4188
      date: 2023-11-11 08:35:50.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4195 …}
    +nested: Doctrine\ORM\PersistentCollection {#4197 …}
    +votes: Doctrine\ORM\PersistentCollection {#4199 …}
    +reports: Doctrine\ORM\PersistentCollection {#4201 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4203 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4205 …}
    -id: 106698
    -bodyTs: "'/).':7 'recommend':3 'starship':4 'starship.rs':6 'starship.rs/).':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4678629"
    +editedAt: DateTimeImmutable @1699669980 {#4189
      date: 2023-11-11 03:33:00.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699595437 {#4190
      date: 2023-11-10 06:50:37.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7175
  +subject: App\Entity\EntryComment {#4194
    +user: App\Entity\User {#4207
      +avatar: null
      +cover: null
      +email: "Knusper@feddit.de"
      +username: "@Knusper@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1705077404 {#4191
        date: 2024-01-12 17:36:44.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4208 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4210 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4212 …}
      +entries: Doctrine\ORM\PersistentCollection {#4214 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4216 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +posts: Doctrine\ORM\PersistentCollection {#4222 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4226 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4230 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4232 …}
      +follows: Doctrine\ORM\PersistentCollection {#4234 …}
      +followers: Doctrine\ORM\PersistentCollection {#4236 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4238 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4244 …}
      +reports: Doctrine\ORM\PersistentCollection {#4246 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4248 …}
      +violations: Doctrine\ORM\PersistentCollection {#4250 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4252 …}
      +awards: Doctrine\ORM\PersistentCollection {#4254 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4256 …}
      +categories: Doctrine\ORM\PersistentCollection {#4258 …}
      -id: 1100
      -password: "$2y$13$x0rgeQ2v49nTNv3bdNkmzuXJOXZHMM6wRDFYfprY5GO7cVHvpHnzS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4260 …}
      +apId: "Knusper@feddit.de"
      +apProfileId: "https://feddit.de/u/Knusper"
      +apPublicUrl: "https://feddit.de/u/Knusper"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Knusper"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721519224 {#4192
        date: 2024-07-21 01:47:04.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686971992 {#4193
        date: 2023-06-17 05:19:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I can recommend [Starship](https://starship.rs/)."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1699688150 {#4188
      date: 2023-11-11 08:35:50.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4195 …}
    +nested: Doctrine\ORM\PersistentCollection {#4197 …}
    +votes: Doctrine\ORM\PersistentCollection {#4199 …}
    +reports: Doctrine\ORM\PersistentCollection {#4201 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4203 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4205 …}
    -id: 106698
    -bodyTs: "'/).':7 'recommend':3 'starship':4 'starship.rs':6 'starship.rs/).':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4678629"
    +editedAt: DateTimeImmutable @1699669980 {#4189
      date: 2023-11-11 03:33:00.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699595437 {#4190
      date: 2023-11-10 06:50:37.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.76 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4194
    +user: App\Entity\User {#4207
      +avatar: null
      +cover: null
      +email: "Knusper@feddit.de"
      +username: "@Knusper@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1705077404 {#4191
        date: 2024-01-12 17:36:44.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4208 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4210 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4212 …}
      +entries: Doctrine\ORM\PersistentCollection {#4214 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4216 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +posts: Doctrine\ORM\PersistentCollection {#4222 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4226 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4230 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4232 …}
      +follows: Doctrine\ORM\PersistentCollection {#4234 …}
      +followers: Doctrine\ORM\PersistentCollection {#4236 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4238 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4244 …}
      +reports: Doctrine\ORM\PersistentCollection {#4246 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4248 …}
      +violations: Doctrine\ORM\PersistentCollection {#4250 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4252 …}
      +awards: Doctrine\ORM\PersistentCollection {#4254 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4256 …}
      +categories: Doctrine\ORM\PersistentCollection {#4258 …}
      -id: 1100
      -password: "$2y$13$x0rgeQ2v49nTNv3bdNkmzuXJOXZHMM6wRDFYfprY5GO7cVHvpHnzS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4260 …}
      +apId: "Knusper@feddit.de"
      +apProfileId: "https://feddit.de/u/Knusper"
      +apPublicUrl: "https://feddit.de/u/Knusper"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Knusper"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721519224 {#4192
        date: 2024-07-21 01:47:04.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686971992 {#4193
        date: 2023-06-17 05:19:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I can recommend [Starship](https://starship.rs/)."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1699688150 {#4188
      date: 2023-11-11 08:35:50.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4195 …}
    +nested: Doctrine\ORM\PersistentCollection {#4197 …}
    +votes: Doctrine\ORM\PersistentCollection {#4199 …}
    +reports: Doctrine\ORM\PersistentCollection {#4201 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4203 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4205 …}
    -id: 106698
    -bodyTs: "'/).':7 'recommend':3 'starship':4 'starship.rs':6 'starship.rs/).':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4678629"
    +editedAt: DateTimeImmutable @1699669980 {#4189
      date: 2023-11-11 03:33:00.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699595437 {#4190
      date: 2023-11-10 06:50:37.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7232
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4194
    +user: App\Entity\User {#4207
      +avatar: null
      +cover: null
      +email: "Knusper@feddit.de"
      +username: "@Knusper@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1705077404 {#4191
        date: 2024-01-12 17:36:44.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4208 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4210 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4212 …}
      +entries: Doctrine\ORM\PersistentCollection {#4214 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4216 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +posts: Doctrine\ORM\PersistentCollection {#4222 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4226 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4230 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4232 …}
      +follows: Doctrine\ORM\PersistentCollection {#4234 …}
      +followers: Doctrine\ORM\PersistentCollection {#4236 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4238 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4244 …}
      +reports: Doctrine\ORM\PersistentCollection {#4246 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4248 …}
      +violations: Doctrine\ORM\PersistentCollection {#4250 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4252 …}
      +awards: Doctrine\ORM\PersistentCollection {#4254 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4256 …}
      +categories: Doctrine\ORM\PersistentCollection {#4258 …}
      -id: 1100
      -password: "$2y$13$x0rgeQ2v49nTNv3bdNkmzuXJOXZHMM6wRDFYfprY5GO7cVHvpHnzS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4260 …}
      +apId: "Knusper@feddit.de"
      +apProfileId: "https://feddit.de/u/Knusper"
      +apPublicUrl: "https://feddit.de/u/Knusper"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Knusper"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721519224 {#4192
        date: 2024-07-21 01:47:04.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686971992 {#4193
        date: 2023-06-17 05:19:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I can recommend [Starship](https://starship.rs/)."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1699688150 {#4188
      date: 2023-11-11 08:35:50.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4195 …}
    +nested: Doctrine\ORM\PersistentCollection {#4197 …}
    +votes: Doctrine\ORM\PersistentCollection {#4199 …}
    +reports: Doctrine\ORM\PersistentCollection {#4201 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4203 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4205 …}
    -id: 106698
    -bodyTs: "'/).':7 'recommend':3 'starship':4 'starship.rs':6 'starship.rs/).':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4678629"
    +editedAt: DateTimeImmutable @1699669980 {#4189
      date: 2023-11-11 03:33:00.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699595437 {#4190
      date: 2023-11-10 06:50:37.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 15.21 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4194
    +user: App\Entity\User {#4207
      +avatar: null
      +cover: null
      +email: "Knusper@feddit.de"
      +username: "@Knusper@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1705077404 {#4191
        date: 2024-01-12 17:36:44.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4208 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4210 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4212 …}
      +entries: Doctrine\ORM\PersistentCollection {#4214 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4216 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +posts: Doctrine\ORM\PersistentCollection {#4222 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4226 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4230 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4232 …}
      +follows: Doctrine\ORM\PersistentCollection {#4234 …}
      +followers: Doctrine\ORM\PersistentCollection {#4236 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4238 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4244 …}
      +reports: Doctrine\ORM\PersistentCollection {#4246 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4248 …}
      +violations: Doctrine\ORM\PersistentCollection {#4250 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4252 …}
      +awards: Doctrine\ORM\PersistentCollection {#4254 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4256 …}
      +categories: Doctrine\ORM\PersistentCollection {#4258 …}
      -id: 1100
      -password: "$2y$13$x0rgeQ2v49nTNv3bdNkmzuXJOXZHMM6wRDFYfprY5GO7cVHvpHnzS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4260 …}
      +apId: "Knusper@feddit.de"
      +apProfileId: "https://feddit.de/u/Knusper"
      +apPublicUrl: "https://feddit.de/u/Knusper"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Knusper"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721519224 {#4192
        date: 2024-07-21 01:47:04.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686971992 {#4193
        date: 2023-06-17 05:19:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I can recommend [Starship](https://starship.rs/)."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1699688150 {#4188
      date: 2023-11-11 08:35:50.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4195 …}
    +nested: Doctrine\ORM\PersistentCollection {#4197 …}
    +votes: Doctrine\ORM\PersistentCollection {#4199 …}
    +reports: Doctrine\ORM\PersistentCollection {#4201 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4203 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4205 …}
    -id: 106698
    -bodyTs: "'/).':7 'recommend':3 'starship':4 'starship.rs':6 'starship.rs/).':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4678629"
    +editedAt: DateTimeImmutable @1699669980 {#4189
      date: 2023-11-11 03:33:00.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699595437 {#4190
      date: 2023-11-10 06:50:37.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#7472
  +comment: App\Entity\EntryComment {#4194
    +user: App\Entity\User {#4207
      +avatar: null
      +cover: null
      +email: "Knusper@feddit.de"
      +username: "@Knusper@feddit.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1705077404 {#4191
        date: 2024-01-12 17:36:44.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4208 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4210 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4212 …}
      +entries: Doctrine\ORM\PersistentCollection {#4214 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4216 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4218 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4220 …}
      +posts: Doctrine\ORM\PersistentCollection {#4222 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4224 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4226 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4228 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4230 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4232 …}
      +follows: Doctrine\ORM\PersistentCollection {#4234 …}
      +followers: Doctrine\ORM\PersistentCollection {#4236 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4238 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4240 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4242 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4244 …}
      +reports: Doctrine\ORM\PersistentCollection {#4246 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4248 …}
      +violations: Doctrine\ORM\PersistentCollection {#4250 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4252 …}
      +awards: Doctrine\ORM\PersistentCollection {#4254 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4256 …}
      +categories: Doctrine\ORM\PersistentCollection {#4258 …}
      -id: 1100
      -password: "$2y$13$x0rgeQ2v49nTNv3bdNkmzuXJOXZHMM6wRDFYfprY5GO7cVHvpHnzS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4260 …}
      +apId: "Knusper@feddit.de"
      +apProfileId: "https://feddit.de/u/Knusper"
      +apPublicUrl: "https://feddit.de/u/Knusper"
      +apFollowersUrl: null
      +apInboxUrl: "https://feddit.de/inbox"
      +apDomain: "feddit.de"
      +apPreferredUsername: "Knusper"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1721519224 {#4192
        date: 2024-07-21 01:47:04.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686971992 {#4193
        date: 2023-06-17 05:19:52.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I can recommend [Starship](https://starship.rs/)."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 4
    +score: 0
    +lastActive: DateTime @1699688150 {#4188
      date: 2023-11-11 08:35:50.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4195 …}
    +nested: Doctrine\ORM\PersistentCollection {#4197 …}
    +votes: Doctrine\ORM\PersistentCollection {#4199 …}
    +reports: Doctrine\ORM\PersistentCollection {#4201 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4203 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4205 …}
    -id: 106698
    -bodyTs: "'/).':7 'recommend':3 'starship':4 'starship.rs':6 'starship.rs/).':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://feddit.de/comment/4678629"
    +editedAt: DateTimeImmutable @1699669980 {#4189
      date: 2023-11-11 03:33:00.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699595437 {#4190
      date: 2023-11-10 06:50:37.0 +01:00
    }
  }
  +nestedComments: [
    107210 => App\Entity\EntryComment {#4768
      +user: Proxies\__CG__\App\Entity\User {#4769 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4194}
      +root: App\Entity\EntryComment {#4194}
      +body: """
        Definitely! Much more user-friendly and expandable than configuring PS1 manually.\n
        \n
        [This is what mine looks like.](https://i.imgur.com/ziLXMzt.png)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1699614711 {#4766
        date: 2023-11-10 12:11:51.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@wolf@lemmy.zip"
        "@Knusper@feddit.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4770 …}
      +nested: Doctrine\ORM\PersistentCollection {#4772 …}
      +votes: Doctrine\ORM\PersistentCollection {#4774 …}
      +reports: Doctrine\ORM\PersistentCollection {#4776 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4778 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4780 …}
      -id: 107210
      -bodyTs: "'/zilxmzt.png)':21 'configur':10 'definit':1 'expand':8 'friend':6 'i.imgur.com':20 'i.imgur.com/zilxmzt.png)':19 'like':18 'look':17 'manual':12 'mine':16 'much':2 'ps1':11 'user':5 'user-friend':4"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemm.ee/comment/5948788"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699614711 {#4767
        date: 2023-11-10 12:11:51.0 +01:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 68.86 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4267
    +user: App\Entity\User {#4280
      +avatar: null
      +cover: null
      +email: "wmassingham@lemmy.world"
      +username: "@wmassingham@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726803104 {#4264
        date: 2024-09-20 05:31:44.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4281 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4283 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4285 …}
      +entries: Doctrine\ORM\PersistentCollection {#4287 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4289 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4291 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4293 …}
      +posts: Doctrine\ORM\PersistentCollection {#4295 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4297 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4299 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4301 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4303 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4305 …}
      +follows: Doctrine\ORM\PersistentCollection {#4307 …}
      +followers: Doctrine\ORM\PersistentCollection {#4309 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4311 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4313 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4315 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4317 …}
      +reports: Doctrine\ORM\PersistentCollection {#4319 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4321 …}
      +violations: Doctrine\ORM\PersistentCollection {#4323 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4325 …}
      +awards: Doctrine\ORM\PersistentCollection {#4327 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4329 …}
      +categories: Doctrine\ORM\PersistentCollection {#4331 …}
      -id: 48036
      -password: "$2y$13$Xdkd7qaW0.NWWUUQJJzPvugOpefIfMuzdPDocfLt5R2pSjyPgx5yW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4333 …}
      +apId: "wmassingham@lemmy.world"
      +apProfileId: "https://lemmy.world/u/wmassingham"
      +apPublicUrl: "https://lemmy.world/u/wmassingham"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "wmassingham"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709798182 {#4265
        date: 2024-03-07 08:56:22.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696341059 {#4266
        date: 2023-10-03 15:50:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I make it green for an ssh session, and red when I’m root. That’s it, nothing fancy."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1699654645 {#4262
      date: 2023-11-10 23:17:25.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4268 …}
    +nested: Doctrine\ORM\PersistentCollection {#4270 …}
    +votes: Doctrine\ORM\PersistentCollection {#4272 …}
    +reports: Doctrine\ORM\PersistentCollection {#4274 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4276 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4278 …}
    -id: 105186
    -bodyTs: "'fanci':19 'green':4 'm':13 'make':2 'noth':18 'red':10 'root':14 'session':8 'ssh':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5187427"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699558684 {#4263
      date: 2023-11-09 20:38:04.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#7540
  +comment: App\Entity\EntryComment {#4267
    +user: App\Entity\User {#4280
      +avatar: null
      +cover: null
      +email: "wmassingham@lemmy.world"
      +username: "@wmassingham@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726803104 {#4264
        date: 2024-09-20 05:31:44.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4281 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4283 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4285 …}
      +entries: Doctrine\ORM\PersistentCollection {#4287 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4289 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4291 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4293 …}
      +posts: Doctrine\ORM\PersistentCollection {#4295 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4297 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4299 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4301 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4303 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4305 …}
      +follows: Doctrine\ORM\PersistentCollection {#4307 …}
      +followers: Doctrine\ORM\PersistentCollection {#4309 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4311 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4313 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4315 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4317 …}
      +reports: Doctrine\ORM\PersistentCollection {#4319 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4321 …}
      +violations: Doctrine\ORM\PersistentCollection {#4323 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4325 …}
      +awards: Doctrine\ORM\PersistentCollection {#4327 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4329 …}
      +categories: Doctrine\ORM\PersistentCollection {#4331 …}
      -id: 48036
      -password: "$2y$13$Xdkd7qaW0.NWWUUQJJzPvugOpefIfMuzdPDocfLt5R2pSjyPgx5yW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4333 …}
      +apId: "wmassingham@lemmy.world"
      +apProfileId: "https://lemmy.world/u/wmassingham"
      +apPublicUrl: "https://lemmy.world/u/wmassingham"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "wmassingham"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709798182 {#4265
        date: 2024-03-07 08:56:22.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696341059 {#4266
        date: 2023-10-03 15:50:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I make it green for an ssh session, and red when I’m root. That’s it, nothing fancy."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1699654645 {#4262
      date: 2023-11-10 23:17:25.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4268 …}
    +nested: Doctrine\ORM\PersistentCollection {#4270 …}
    +votes: Doctrine\ORM\PersistentCollection {#4272 …}
    +reports: Doctrine\ORM\PersistentCollection {#4274 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4276 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4278 …}
    -id: 105186
    -bodyTs: "'fanci':19 'green':4 'm':13 'make':2 'noth':18 'red':10 'root':14 'session':8 'ssh':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5187427"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699558684 {#4263
      date: 2023-11-09 20:38:04.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.21 ms
Input props
[
  "user" => App\Entity\User {#4280
    +avatar: null
    +cover: null
    +email: "wmassingham@lemmy.world"
    +username: "@wmassingham@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1726803104 {#4264
      date: 2024-09-20 05:31:44.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4281 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4283 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4285 …}
    +entries: Doctrine\ORM\PersistentCollection {#4287 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4289 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4291 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4293 …}
    +posts: Doctrine\ORM\PersistentCollection {#4295 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4297 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4299 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4301 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4303 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4305 …}
    +follows: Doctrine\ORM\PersistentCollection {#4307 …}
    +followers: Doctrine\ORM\PersistentCollection {#4309 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4311 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4313 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4315 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4317 …}
    +reports: Doctrine\ORM\PersistentCollection {#4319 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4321 …}
    +violations: Doctrine\ORM\PersistentCollection {#4323 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4325 …}
    +awards: Doctrine\ORM\PersistentCollection {#4327 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4329 …}
    +categories: Doctrine\ORM\PersistentCollection {#4331 …}
    -id: 48036
    -password: "$2y$13$Xdkd7qaW0.NWWUUQJJzPvugOpefIfMuzdPDocfLt5R2pSjyPgx5yW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4333 …}
    +apId: "wmassingham@lemmy.world"
    +apProfileId: "https://lemmy.world/u/wmassingham"
    +apPublicUrl: "https://lemmy.world/u/wmassingham"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "wmassingham"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709798182 {#4265
      date: 2024-03-07 08:56:22.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696341059 {#4266
      date: 2023-10-03 15:50:59.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7585
  +user: App\Entity\User {#4280
    +avatar: null
    +cover: null
    +email: "wmassingham@lemmy.world"
    +username: "@wmassingham@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1726803104 {#4264
      date: 2024-09-20 05:31:44.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4281 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4283 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4285 …}
    +entries: Doctrine\ORM\PersistentCollection {#4287 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4289 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4291 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4293 …}
    +posts: Doctrine\ORM\PersistentCollection {#4295 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4297 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4299 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4301 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4303 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4305 …}
    +follows: Doctrine\ORM\PersistentCollection {#4307 …}
    +followers: Doctrine\ORM\PersistentCollection {#4309 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4311 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4313 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4315 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4317 …}
    +reports: Doctrine\ORM\PersistentCollection {#4319 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4321 …}
    +violations: Doctrine\ORM\PersistentCollection {#4323 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4325 …}
    +awards: Doctrine\ORM\PersistentCollection {#4327 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4329 …}
    +categories: Doctrine\ORM\PersistentCollection {#4331 …}
    -id: 48036
    -password: "$2y$13$Xdkd7qaW0.NWWUUQJJzPvugOpefIfMuzdPDocfLt5R2pSjyPgx5yW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4333 …}
    +apId: "wmassingham@lemmy.world"
    +apProfileId: "https://lemmy.world/u/wmassingham"
    +apPublicUrl: "https://lemmy.world/u/wmassingham"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "wmassingham"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709798182 {#4265
      date: 2024-03-07 08:56:22.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696341059 {#4266
      date: 2023-10-03 15:50:59.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.16 ms
Input props
[
  "date" => DateTimeImmutable @1699558684 {#4263
    date: 2023-11-09 20:38:04.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7640
  +date: DateTimeImmutable @1699558684 {#4263
    date: 2023-11-09 20:38:04.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.11 ms
Input props
[
  "createdAt" => DateTimeImmutable @1699558684 {#4263
    date: 2023-11-09 20:38:04.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7694
  +createdAt: DateTimeImmutable @1699558684 {#4263
    date: 2023-11-09 20:38:04.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.24 ms
Input props
[
  "user" => App\Entity\User {#4280
    +avatar: null
    +cover: null
    +email: "wmassingham@lemmy.world"
    +username: "@wmassingham@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1726803104 {#4264
      date: 2024-09-20 05:31:44.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4281 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4283 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4285 …}
    +entries: Doctrine\ORM\PersistentCollection {#4287 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4289 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4291 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4293 …}
    +posts: Doctrine\ORM\PersistentCollection {#4295 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4297 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4299 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4301 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4303 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4305 …}
    +follows: Doctrine\ORM\PersistentCollection {#4307 …}
    +followers: Doctrine\ORM\PersistentCollection {#4309 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4311 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4313 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4315 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4317 …}
    +reports: Doctrine\ORM\PersistentCollection {#4319 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4321 …}
    +violations: Doctrine\ORM\PersistentCollection {#4323 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4325 …}
    +awards: Doctrine\ORM\PersistentCollection {#4327 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4329 …}
    +categories: Doctrine\ORM\PersistentCollection {#4331 …}
    -id: 48036
    -password: "$2y$13$Xdkd7qaW0.NWWUUQJJzPvugOpefIfMuzdPDocfLt5R2pSjyPgx5yW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4333 …}
    +apId: "wmassingham@lemmy.world"
    +apProfileId: "https://lemmy.world/u/wmassingham"
    +apPublicUrl: "https://lemmy.world/u/wmassingham"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "wmassingham"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709798182 {#4265
      date: 2024-03-07 08:56:22.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696341059 {#4266
      date: 2023-10-03 15:50:59.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7748
  +width: 40
  +height: 40
  +user: App\Entity\User {#4280
    +avatar: null
    +cover: null
    +email: "wmassingham@lemmy.world"
    +username: "@wmassingham@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1726803104 {#4264
      date: 2024-09-20 05:31:44.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4281 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4283 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4285 …}
    +entries: Doctrine\ORM\PersistentCollection {#4287 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4289 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4291 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4293 …}
    +posts: Doctrine\ORM\PersistentCollection {#4295 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4297 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4299 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4301 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4303 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4305 …}
    +follows: Doctrine\ORM\PersistentCollection {#4307 …}
    +followers: Doctrine\ORM\PersistentCollection {#4309 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4311 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4313 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4315 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4317 …}
    +reports: Doctrine\ORM\PersistentCollection {#4319 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4321 …}
    +violations: Doctrine\ORM\PersistentCollection {#4323 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4325 …}
    +awards: Doctrine\ORM\PersistentCollection {#4327 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4329 …}
    +categories: Doctrine\ORM\PersistentCollection {#4331 …}
    -id: 48036
    -password: "$2y$13$Xdkd7qaW0.NWWUUQJJzPvugOpefIfMuzdPDocfLt5R2pSjyPgx5yW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4333 …}
    +apId: "wmassingham@lemmy.world"
    +apProfileId: "https://lemmy.world/u/wmassingham"
    +apPublicUrl: "https://lemmy.world/u/wmassingham"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "wmassingham"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1709798182 {#4265
      date: 2024-03-07 08:56:22.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696341059 {#4266
      date: 2023-10-03 15:50:59.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.45 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4267
    +user: App\Entity\User {#4280
      +avatar: null
      +cover: null
      +email: "wmassingham@lemmy.world"
      +username: "@wmassingham@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726803104 {#4264
        date: 2024-09-20 05:31:44.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4281 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4283 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4285 …}
      +entries: Doctrine\ORM\PersistentCollection {#4287 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4289 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4291 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4293 …}
      +posts: Doctrine\ORM\PersistentCollection {#4295 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4297 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4299 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4301 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4303 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4305 …}
      +follows: Doctrine\ORM\PersistentCollection {#4307 …}
      +followers: Doctrine\ORM\PersistentCollection {#4309 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4311 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4313 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4315 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4317 …}
      +reports: Doctrine\ORM\PersistentCollection {#4319 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4321 …}
      +violations: Doctrine\ORM\PersistentCollection {#4323 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4325 …}
      +awards: Doctrine\ORM\PersistentCollection {#4327 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4329 …}
      +categories: Doctrine\ORM\PersistentCollection {#4331 …}
      -id: 48036
      -password: "$2y$13$Xdkd7qaW0.NWWUUQJJzPvugOpefIfMuzdPDocfLt5R2pSjyPgx5yW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4333 …}
      +apId: "wmassingham@lemmy.world"
      +apProfileId: "https://lemmy.world/u/wmassingham"
      +apPublicUrl: "https://lemmy.world/u/wmassingham"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "wmassingham"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709798182 {#4265
        date: 2024-03-07 08:56:22.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696341059 {#4266
        date: 2023-10-03 15:50:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I make it green for an ssh session, and red when I’m root. That’s it, nothing fancy."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1699654645 {#4262
      date: 2023-11-10 23:17:25.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4268 …}
    +nested: Doctrine\ORM\PersistentCollection {#4270 …}
    +votes: Doctrine\ORM\PersistentCollection {#4272 …}
    +reports: Doctrine\ORM\PersistentCollection {#4274 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4276 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4278 …}
    -id: 105186
    -bodyTs: "'fanci':19 'green':4 'm':13 'make':2 'noth':18 'red':10 'root':14 'session':8 'ssh':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5187427"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699558684 {#4263
      date: 2023-11-09 20:38:04.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7817
  +subject: App\Entity\EntryComment {#4267
    +user: App\Entity\User {#4280
      +avatar: null
      +cover: null
      +email: "wmassingham@lemmy.world"
      +username: "@wmassingham@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726803104 {#4264
        date: 2024-09-20 05:31:44.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4281 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4283 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4285 …}
      +entries: Doctrine\ORM\PersistentCollection {#4287 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4289 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4291 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4293 …}
      +posts: Doctrine\ORM\PersistentCollection {#4295 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4297 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4299 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4301 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4303 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4305 …}
      +follows: Doctrine\ORM\PersistentCollection {#4307 …}
      +followers: Doctrine\ORM\PersistentCollection {#4309 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4311 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4313 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4315 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4317 …}
      +reports: Doctrine\ORM\PersistentCollection {#4319 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4321 …}
      +violations: Doctrine\ORM\PersistentCollection {#4323 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4325 …}
      +awards: Doctrine\ORM\PersistentCollection {#4327 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4329 …}
      +categories: Doctrine\ORM\PersistentCollection {#4331 …}
      -id: 48036
      -password: "$2y$13$Xdkd7qaW0.NWWUUQJJzPvugOpefIfMuzdPDocfLt5R2pSjyPgx5yW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4333 …}
      +apId: "wmassingham@lemmy.world"
      +apProfileId: "https://lemmy.world/u/wmassingham"
      +apPublicUrl: "https://lemmy.world/u/wmassingham"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "wmassingham"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709798182 {#4265
        date: 2024-03-07 08:56:22.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696341059 {#4266
        date: 2023-10-03 15:50:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I make it green for an ssh session, and red when I’m root. That’s it, nothing fancy."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1699654645 {#4262
      date: 2023-11-10 23:17:25.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4268 …}
    +nested: Doctrine\ORM\PersistentCollection {#4270 …}
    +votes: Doctrine\ORM\PersistentCollection {#4272 …}
    +reports: Doctrine\ORM\PersistentCollection {#4274 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4276 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4278 …}
    -id: 105186
    -bodyTs: "'fanci':19 'green':4 'm':13 'make':2 'noth':18 'red':10 'root':14 'session':8 'ssh':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5187427"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699558684 {#4263
      date: 2023-11-09 20:38:04.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.79 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4267
    +user: App\Entity\User {#4280
      +avatar: null
      +cover: null
      +email: "wmassingham@lemmy.world"
      +username: "@wmassingham@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726803104 {#4264
        date: 2024-09-20 05:31:44.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4281 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4283 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4285 …}
      +entries: Doctrine\ORM\PersistentCollection {#4287 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4289 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4291 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4293 …}
      +posts: Doctrine\ORM\PersistentCollection {#4295 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4297 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4299 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4301 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4303 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4305 …}
      +follows: Doctrine\ORM\PersistentCollection {#4307 …}
      +followers: Doctrine\ORM\PersistentCollection {#4309 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4311 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4313 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4315 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4317 …}
      +reports: Doctrine\ORM\PersistentCollection {#4319 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4321 …}
      +violations: Doctrine\ORM\PersistentCollection {#4323 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4325 …}
      +awards: Doctrine\ORM\PersistentCollection {#4327 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4329 …}
      +categories: Doctrine\ORM\PersistentCollection {#4331 …}
      -id: 48036
      -password: "$2y$13$Xdkd7qaW0.NWWUUQJJzPvugOpefIfMuzdPDocfLt5R2pSjyPgx5yW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4333 …}
      +apId: "wmassingham@lemmy.world"
      +apProfileId: "https://lemmy.world/u/wmassingham"
      +apPublicUrl: "https://lemmy.world/u/wmassingham"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "wmassingham"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709798182 {#4265
        date: 2024-03-07 08:56:22.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696341059 {#4266
        date: 2023-10-03 15:50:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I make it green for an ssh session, and red when I’m root. That’s it, nothing fancy."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1699654645 {#4262
      date: 2023-11-10 23:17:25.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4268 …}
    +nested: Doctrine\ORM\PersistentCollection {#4270 …}
    +votes: Doctrine\ORM\PersistentCollection {#4272 …}
    +reports: Doctrine\ORM\PersistentCollection {#4274 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4276 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4278 …}
    -id: 105186
    -bodyTs: "'fanci':19 'green':4 'm':13 'make':2 'noth':18 'red':10 'root':14 'session':8 'ssh':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5187427"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699558684 {#4263
      date: 2023-11-09 20:38:04.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7874
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4267
    +user: App\Entity\User {#4280
      +avatar: null
      +cover: null
      +email: "wmassingham@lemmy.world"
      +username: "@wmassingham@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726803104 {#4264
        date: 2024-09-20 05:31:44.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4281 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4283 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4285 …}
      +entries: Doctrine\ORM\PersistentCollection {#4287 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4289 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4291 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4293 …}
      +posts: Doctrine\ORM\PersistentCollection {#4295 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4297 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4299 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4301 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4303 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4305 …}
      +follows: Doctrine\ORM\PersistentCollection {#4307 …}
      +followers: Doctrine\ORM\PersistentCollection {#4309 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4311 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4313 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4315 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4317 …}
      +reports: Doctrine\ORM\PersistentCollection {#4319 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4321 …}
      +violations: Doctrine\ORM\PersistentCollection {#4323 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4325 …}
      +awards: Doctrine\ORM\PersistentCollection {#4327 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4329 …}
      +categories: Doctrine\ORM\PersistentCollection {#4331 …}
      -id: 48036
      -password: "$2y$13$Xdkd7qaW0.NWWUUQJJzPvugOpefIfMuzdPDocfLt5R2pSjyPgx5yW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4333 …}
      +apId: "wmassingham@lemmy.world"
      +apProfileId: "https://lemmy.world/u/wmassingham"
      +apPublicUrl: "https://lemmy.world/u/wmassingham"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "wmassingham"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709798182 {#4265
        date: 2024-03-07 08:56:22.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696341059 {#4266
        date: 2023-10-03 15:50:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I make it green for an ssh session, and red when I’m root. That’s it, nothing fancy."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1699654645 {#4262
      date: 2023-11-10 23:17:25.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4268 …}
    +nested: Doctrine\ORM\PersistentCollection {#4270 …}
    +votes: Doctrine\ORM\PersistentCollection {#4272 …}
    +reports: Doctrine\ORM\PersistentCollection {#4274 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4276 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4278 …}
    -id: 105186
    -bodyTs: "'fanci':19 'green':4 'm':13 'make':2 'noth':18 'red':10 'root':14 'session':8 'ssh':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5187427"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699558684 {#4263
      date: 2023-11-09 20:38:04.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 0.47 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4267
    +user: App\Entity\User {#4280
      +avatar: null
      +cover: null
      +email: "wmassingham@lemmy.world"
      +username: "@wmassingham@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726803104 {#4264
        date: 2024-09-20 05:31:44.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4281 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4283 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4285 …}
      +entries: Doctrine\ORM\PersistentCollection {#4287 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4289 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4291 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4293 …}
      +posts: Doctrine\ORM\PersistentCollection {#4295 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4297 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4299 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4301 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4303 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4305 …}
      +follows: Doctrine\ORM\PersistentCollection {#4307 …}
      +followers: Doctrine\ORM\PersistentCollection {#4309 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4311 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4313 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4315 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4317 …}
      +reports: Doctrine\ORM\PersistentCollection {#4319 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4321 …}
      +violations: Doctrine\ORM\PersistentCollection {#4323 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4325 …}
      +awards: Doctrine\ORM\PersistentCollection {#4327 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4329 …}
      +categories: Doctrine\ORM\PersistentCollection {#4331 …}
      -id: 48036
      -password: "$2y$13$Xdkd7qaW0.NWWUUQJJzPvugOpefIfMuzdPDocfLt5R2pSjyPgx5yW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4333 …}
      +apId: "wmassingham@lemmy.world"
      +apProfileId: "https://lemmy.world/u/wmassingham"
      +apPublicUrl: "https://lemmy.world/u/wmassingham"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "wmassingham"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709798182 {#4265
        date: 2024-03-07 08:56:22.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696341059 {#4266
        date: 2023-10-03 15:50:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I make it green for an ssh session, and red when I’m root. That’s it, nothing fancy."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1699654645 {#4262
      date: 2023-11-10 23:17:25.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4268 …}
    +nested: Doctrine\ORM\PersistentCollection {#4270 …}
    +votes: Doctrine\ORM\PersistentCollection {#4272 …}
    +reports: Doctrine\ORM\PersistentCollection {#4274 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4276 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4278 …}
    -id: 105186
    -bodyTs: "'fanci':19 'green':4 'm':13 'make':2 'noth':18 'red':10 'root':14 'session':8 'ssh':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5187427"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699558684 {#4263
      date: 2023-11-09 20:38:04.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8114
  +comment: App\Entity\EntryComment {#4267
    +user: App\Entity\User {#4280
      +avatar: null
      +cover: null
      +email: "wmassingham@lemmy.world"
      +username: "@wmassingham@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1726803104 {#4264
        date: 2024-09-20 05:31:44.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4281 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4283 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4285 …}
      +entries: Doctrine\ORM\PersistentCollection {#4287 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4289 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4291 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4293 …}
      +posts: Doctrine\ORM\PersistentCollection {#4295 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4297 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4299 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4301 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4303 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4305 …}
      +follows: Doctrine\ORM\PersistentCollection {#4307 …}
      +followers: Doctrine\ORM\PersistentCollection {#4309 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4311 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4313 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4315 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4317 …}
      +reports: Doctrine\ORM\PersistentCollection {#4319 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4321 …}
      +violations: Doctrine\ORM\PersistentCollection {#4323 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4325 …}
      +awards: Doctrine\ORM\PersistentCollection {#4327 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4329 …}
      +categories: Doctrine\ORM\PersistentCollection {#4331 …}
      -id: 48036
      -password: "$2y$13$Xdkd7qaW0.NWWUUQJJzPvugOpefIfMuzdPDocfLt5R2pSjyPgx5yW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4333 …}
      +apId: "wmassingham@lemmy.world"
      +apProfileId: "https://lemmy.world/u/wmassingham"
      +apPublicUrl: "https://lemmy.world/u/wmassingham"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "wmassingham"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1709798182 {#4265
        date: 2024-03-07 08:56:22.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696341059 {#4266
        date: 2023-10-03 15:50:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I make it green for an ssh session, and red when I’m root. That’s it, nothing fancy."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 6
    +score: 0
    +lastActive: DateTime @1699654645 {#4262
      date: 2023-11-10 23:17:25.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4268 …}
    +nested: Doctrine\ORM\PersistentCollection {#4270 …}
    +votes: Doctrine\ORM\PersistentCollection {#4272 …}
    +reports: Doctrine\ORM\PersistentCollection {#4274 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4276 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4278 …}
    -id: 105186
    -bodyTs: "'fanci':19 'green':4 'm':13 'make':2 'noth':18 'red':10 'root':14 'session':8 'ssh':7"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5187427"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699558684 {#4263
      date: 2023-11-09 20:38:04.0 +01:00
    }
  }
  +nestedComments: [
    105267 => App\Entity\EntryComment {#4716
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4267}
      +root: App\Entity\EntryComment {#4267}
      +body: """
        Damn it! That is such an obvious great idea, I feel like an idiot! Thank you very much! :-)\n
        \n
        Any advice/guide how to change the color for ssh sessions?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1699560179 {#4715
        date: 2023-11-09 21:02:59.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@wolf@lemmy.zip"
        "@wmassingham@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4722 …}
      +nested: Doctrine\ORM\PersistentCollection {#4724 …}
      +votes: Doctrine\ORM\PersistentCollection {#4726 …}
      +reports: Doctrine\ORM\PersistentCollection {#4729 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4731 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4733 …}
      -id: 105267
      -bodyTs: "'advice/guide':20 'chang':23 'color':25 'damn':1 'feel':11 'great':8 'idea':9 'idiot':14 'like':12 'much':18 'obvious':7 'session':28 'ssh':27 'thank':15"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.zip/comment/4506280"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699560179 {#4718
        date: 2023-11-09 21:02:59.0 +01:00
      }
    }
    106121 => App\Entity\EntryComment {#4808
      +user: Proxies\__CG__\App\Entity\User {#4804 …}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4716}
      +root: App\Entity\EntryComment {#4267}
      +body: "Check for the ssh env vars. For example, I use `PS1=“${SSH_CONNECTION:+u@h:}W$”` to hide the hostname when not on SSH, you could do something similar with the control codes for color."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1699578374 {#4809
        date: 2023-11-10 02:06:14.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@wolf@lemmy.zip"
        "@wmassingham@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4800 …}
      +nested: Doctrine\ORM\PersistentCollection {#4798 …}
      +votes: Doctrine\ORM\PersistentCollection {#4802 …}
      +reports: Doctrine\ORM\PersistentCollection {#4814 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4816 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4818 …}
      -id: 106121
      -bodyTs: "'check':1 'code':33 'color':35 'connect':13 'control':32 'could':26 'env':5 'exampl':8 'h':15 'hide':18 'hostnam':20 'ps1':11 'similar':29 'someth':28 'ssh':4,12,24 'u':14 'use':10 'var':6 'w':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.ml/comment/5660440"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699578374 {#4812
        date: 2023-11-10 02:06:14.0 +01:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 48.26 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4340
    +user: App\Entity\User {#4353
      +avatar: null
      +cover: null
      +email: "multicorn@programming.dev"
      +username: "@multicorn@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699633241 {#4337
        date: 2023-11-10 17:20:41.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4354 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4356 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4358 …}
      +entries: Doctrine\ORM\PersistentCollection {#4360 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4362 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4364 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4366 …}
      +posts: Doctrine\ORM\PersistentCollection {#4368 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4370 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4372 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4374 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4376 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4378 …}
      +follows: Doctrine\ORM\PersistentCollection {#4380 …}
      +followers: Doctrine\ORM\PersistentCollection {#4382 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4384 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4386 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4388 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4390 …}
      +reports: Doctrine\ORM\PersistentCollection {#4392 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4394 …}
      +violations: Doctrine\ORM\PersistentCollection {#4396 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4398 …}
      +awards: Doctrine\ORM\PersistentCollection {#4400 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4402 …}
      +categories: Doctrine\ORM\PersistentCollection {#4404 …}
      -id: 68373
      -password: "$2y$13$SfQXR/mAT.O0avjVg6A5cuWqqbaqP5MlTUr6alcvuE8RQdUSjx4AS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4406 …}
      +apId: "multicorn@programming.dev"
      +apProfileId: "https://programming.dev/u/multicorn"
      +apPublicUrl: "https://programming.dev/u/multicorn"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "multicorn"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705048447 {#4338
        date: 2024-01-12 09:34:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698651947 {#4339
        date: 2023-10-30 08:45:47.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      If you like customizing your shell, there are really cool things one can do with zsh.\n
      \n
      I have mine set up with suggestions to complete the name of the program, or even command line options for it.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1699633657 {#4335
      date: 2023-11-10 17:27:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4341 …}
    +nested: Doctrine\ORM\PersistentCollection {#4343 …}
    +votes: Doctrine\ORM\PersistentCollection {#4345 …}
    +reports: Doctrine\ORM\PersistentCollection {#4347 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
    -id: 105241
    -bodyTs: "'command':33 'complet':25 'cool':10 'custom':4 'even':32 'like':3 'line':34 'mine':19 'name':27 'one':12 'option':35 'program':30 'realli':9 'set':20 'shell':6 'suggest':23 'thing':11 'zsh':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/4669979"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699559708 {#4336
      date: 2023-11-09 20:55:08.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8182
  +comment: App\Entity\EntryComment {#4340
    +user: App\Entity\User {#4353
      +avatar: null
      +cover: null
      +email: "multicorn@programming.dev"
      +username: "@multicorn@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699633241 {#4337
        date: 2023-11-10 17:20:41.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4354 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4356 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4358 …}
      +entries: Doctrine\ORM\PersistentCollection {#4360 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4362 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4364 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4366 …}
      +posts: Doctrine\ORM\PersistentCollection {#4368 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4370 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4372 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4374 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4376 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4378 …}
      +follows: Doctrine\ORM\PersistentCollection {#4380 …}
      +followers: Doctrine\ORM\PersistentCollection {#4382 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4384 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4386 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4388 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4390 …}
      +reports: Doctrine\ORM\PersistentCollection {#4392 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4394 …}
      +violations: Doctrine\ORM\PersistentCollection {#4396 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4398 …}
      +awards: Doctrine\ORM\PersistentCollection {#4400 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4402 …}
      +categories: Doctrine\ORM\PersistentCollection {#4404 …}
      -id: 68373
      -password: "$2y$13$SfQXR/mAT.O0avjVg6A5cuWqqbaqP5MlTUr6alcvuE8RQdUSjx4AS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4406 …}
      +apId: "multicorn@programming.dev"
      +apProfileId: "https://programming.dev/u/multicorn"
      +apPublicUrl: "https://programming.dev/u/multicorn"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "multicorn"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705048447 {#4338
        date: 2024-01-12 09:34:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698651947 {#4339
        date: 2023-10-30 08:45:47.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      If you like customizing your shell, there are really cool things one can do with zsh.\n
      \n
      I have mine set up with suggestions to complete the name of the program, or even command line options for it.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1699633657 {#4335
      date: 2023-11-10 17:27:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4341 …}
    +nested: Doctrine\ORM\PersistentCollection {#4343 …}
    +votes: Doctrine\ORM\PersistentCollection {#4345 …}
    +reports: Doctrine\ORM\PersistentCollection {#4347 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
    -id: 105241
    -bodyTs: "'command':33 'complet':25 'cool':10 'custom':4 'even':32 'like':3 'line':34 'mine':19 'name':27 'one':12 'option':35 'program':30 'realli':9 'set':20 'shell':6 'suggest':23 'thing':11 'zsh':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/4669979"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699559708 {#4336
      date: 2023-11-09 20:55:08.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.18 ms
Input props
[
  "user" => App\Entity\User {#4353
    +avatar: null
    +cover: null
    +email: "multicorn@programming.dev"
    +username: "@multicorn@programming.dev"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699633241 {#4337
      date: 2023-11-10 17:20:41.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4354 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4356 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4358 …}
    +entries: Doctrine\ORM\PersistentCollection {#4360 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4362 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4364 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4366 …}
    +posts: Doctrine\ORM\PersistentCollection {#4368 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4370 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4372 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4374 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4376 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4378 …}
    +follows: Doctrine\ORM\PersistentCollection {#4380 …}
    +followers: Doctrine\ORM\PersistentCollection {#4382 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4384 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4386 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4388 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4390 …}
    +reports: Doctrine\ORM\PersistentCollection {#4392 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4394 …}
    +violations: Doctrine\ORM\PersistentCollection {#4396 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4398 …}
    +awards: Doctrine\ORM\PersistentCollection {#4400 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4402 …}
    +categories: Doctrine\ORM\PersistentCollection {#4404 …}
    -id: 68373
    -password: "$2y$13$SfQXR/mAT.O0avjVg6A5cuWqqbaqP5MlTUr6alcvuE8RQdUSjx4AS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4406 …}
    +apId: "multicorn@programming.dev"
    +apProfileId: "https://programming.dev/u/multicorn"
    +apPublicUrl: "https://programming.dev/u/multicorn"
    +apFollowersUrl: null
    +apInboxUrl: "https://programming.dev/inbox"
    +apDomain: "programming.dev"
    +apPreferredUsername: "multicorn"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1705048447 {#4338
      date: 2024-01-12 09:34:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698651947 {#4339
      date: 2023-10-30 08:45:47.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8227
  +user: App\Entity\User {#4353
    +avatar: null
    +cover: null
    +email: "multicorn@programming.dev"
    +username: "@multicorn@programming.dev"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699633241 {#4337
      date: 2023-11-10 17:20:41.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4354 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4356 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4358 …}
    +entries: Doctrine\ORM\PersistentCollection {#4360 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4362 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4364 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4366 …}
    +posts: Doctrine\ORM\PersistentCollection {#4368 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4370 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4372 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4374 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4376 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4378 …}
    +follows: Doctrine\ORM\PersistentCollection {#4380 …}
    +followers: Doctrine\ORM\PersistentCollection {#4382 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4384 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4386 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4388 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4390 …}
    +reports: Doctrine\ORM\PersistentCollection {#4392 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4394 …}
    +violations: Doctrine\ORM\PersistentCollection {#4396 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4398 …}
    +awards: Doctrine\ORM\PersistentCollection {#4400 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4402 …}
    +categories: Doctrine\ORM\PersistentCollection {#4404 …}
    -id: 68373
    -password: "$2y$13$SfQXR/mAT.O0avjVg6A5cuWqqbaqP5MlTUr6alcvuE8RQdUSjx4AS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4406 …}
    +apId: "multicorn@programming.dev"
    +apProfileId: "https://programming.dev/u/multicorn"
    +apPublicUrl: "https://programming.dev/u/multicorn"
    +apFollowersUrl: null
    +apInboxUrl: "https://programming.dev/inbox"
    +apDomain: "programming.dev"
    +apPreferredUsername: "multicorn"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1705048447 {#4338
      date: 2024-01-12 09:34:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698651947 {#4339
      date: 2023-10-30 08:45:47.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.16 ms
Input props
[
  "date" => DateTimeImmutable @1699559708 {#4336
    date: 2023-11-09 20:55:08.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8282
  +date: DateTimeImmutable @1699559708 {#4336
    date: 2023-11-09 20:55:08.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1699559708 {#4336
    date: 2023-11-09 20:55:08.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#8336
  +createdAt: DateTimeImmutable @1699559708 {#4336
    date: 2023-11-09 20:55:08.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4353
    +avatar: null
    +cover: null
    +email: "multicorn@programming.dev"
    +username: "@multicorn@programming.dev"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699633241 {#4337
      date: 2023-11-10 17:20:41.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4354 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4356 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4358 …}
    +entries: Doctrine\ORM\PersistentCollection {#4360 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4362 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4364 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4366 …}
    +posts: Doctrine\ORM\PersistentCollection {#4368 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4370 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4372 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4374 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4376 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4378 …}
    +follows: Doctrine\ORM\PersistentCollection {#4380 …}
    +followers: Doctrine\ORM\PersistentCollection {#4382 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4384 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4386 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4388 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4390 …}
    +reports: Doctrine\ORM\PersistentCollection {#4392 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4394 …}
    +violations: Doctrine\ORM\PersistentCollection {#4396 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4398 …}
    +awards: Doctrine\ORM\PersistentCollection {#4400 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4402 …}
    +categories: Doctrine\ORM\PersistentCollection {#4404 …}
    -id: 68373
    -password: "$2y$13$SfQXR/mAT.O0avjVg6A5cuWqqbaqP5MlTUr6alcvuE8RQdUSjx4AS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4406 …}
    +apId: "multicorn@programming.dev"
    +apProfileId: "https://programming.dev/u/multicorn"
    +apPublicUrl: "https://programming.dev/u/multicorn"
    +apFollowersUrl: null
    +apInboxUrl: "https://programming.dev/inbox"
    +apDomain: "programming.dev"
    +apPreferredUsername: "multicorn"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1705048447 {#4338
      date: 2024-01-12 09:34:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698651947 {#4339
      date: 2023-10-30 08:45:47.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#8390
  +width: 40
  +height: 40
  +user: App\Entity\User {#4353
    +avatar: null
    +cover: null
    +email: "multicorn@programming.dev"
    +username: "@multicorn@programming.dev"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1699633241 {#4337
      date: 2023-11-10 17:20:41.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4354 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4356 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4358 …}
    +entries: Doctrine\ORM\PersistentCollection {#4360 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4362 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4364 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4366 …}
    +posts: Doctrine\ORM\PersistentCollection {#4368 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4370 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4372 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4374 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4376 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4378 …}
    +follows: Doctrine\ORM\PersistentCollection {#4380 …}
    +followers: Doctrine\ORM\PersistentCollection {#4382 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4384 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4386 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4388 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4390 …}
    +reports: Doctrine\ORM\PersistentCollection {#4392 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4394 …}
    +violations: Doctrine\ORM\PersistentCollection {#4396 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4398 …}
    +awards: Doctrine\ORM\PersistentCollection {#4400 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4402 …}
    +categories: Doctrine\ORM\PersistentCollection {#4404 …}
    -id: 68373
    -password: "$2y$13$SfQXR/mAT.O0avjVg6A5cuWqqbaqP5MlTUr6alcvuE8RQdUSjx4AS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4406 …}
    +apId: "multicorn@programming.dev"
    +apProfileId: "https://programming.dev/u/multicorn"
    +apPublicUrl: "https://programming.dev/u/multicorn"
    +apFollowersUrl: null
    +apInboxUrl: "https://programming.dev/inbox"
    +apDomain: "programming.dev"
    +apPreferredUsername: "multicorn"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1705048447 {#4338
      date: 2024-01-12 09:34:07.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698651947 {#4339
      date: 2023-10-30 08:45:47.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 8.72 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4340
    +user: App\Entity\User {#4353
      +avatar: null
      +cover: null
      +email: "multicorn@programming.dev"
      +username: "@multicorn@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699633241 {#4337
        date: 2023-11-10 17:20:41.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4354 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4356 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4358 …}
      +entries: Doctrine\ORM\PersistentCollection {#4360 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4362 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4364 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4366 …}
      +posts: Doctrine\ORM\PersistentCollection {#4368 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4370 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4372 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4374 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4376 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4378 …}
      +follows: Doctrine\ORM\PersistentCollection {#4380 …}
      +followers: Doctrine\ORM\PersistentCollection {#4382 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4384 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4386 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4388 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4390 …}
      +reports: Doctrine\ORM\PersistentCollection {#4392 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4394 …}
      +violations: Doctrine\ORM\PersistentCollection {#4396 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4398 …}
      +awards: Doctrine\ORM\PersistentCollection {#4400 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4402 …}
      +categories: Doctrine\ORM\PersistentCollection {#4404 …}
      -id: 68373
      -password: "$2y$13$SfQXR/mAT.O0avjVg6A5cuWqqbaqP5MlTUr6alcvuE8RQdUSjx4AS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4406 …}
      +apId: "multicorn@programming.dev"
      +apProfileId: "https://programming.dev/u/multicorn"
      +apPublicUrl: "https://programming.dev/u/multicorn"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "multicorn"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705048447 {#4338
        date: 2024-01-12 09:34:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698651947 {#4339
        date: 2023-10-30 08:45:47.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      If you like customizing your shell, there are really cool things one can do with zsh.\n
      \n
      I have mine set up with suggestions to complete the name of the program, or even command line options for it.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1699633657 {#4335
      date: 2023-11-10 17:27:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4341 …}
    +nested: Doctrine\ORM\PersistentCollection {#4343 …}
    +votes: Doctrine\ORM\PersistentCollection {#4345 …}
    +reports: Doctrine\ORM\PersistentCollection {#4347 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
    -id: 105241
    -bodyTs: "'command':33 'complet':25 'cool':10 'custom':4 'even':32 'like':3 'line':34 'mine':19 'name':27 'one':12 'option':35 'program':30 'realli':9 'set':20 'shell':6 'suggest':23 'thing':11 'zsh':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/4669979"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699559708 {#4336
      date: 2023-11-09 20:55:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#8463
  +subject: App\Entity\EntryComment {#4340
    +user: App\Entity\User {#4353
      +avatar: null
      +cover: null
      +email: "multicorn@programming.dev"
      +username: "@multicorn@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699633241 {#4337
        date: 2023-11-10 17:20:41.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4354 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4356 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4358 …}
      +entries: Doctrine\ORM\PersistentCollection {#4360 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4362 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4364 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4366 …}
      +posts: Doctrine\ORM\PersistentCollection {#4368 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4370 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4372 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4374 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4376 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4378 …}
      +follows: Doctrine\ORM\PersistentCollection {#4380 …}
      +followers: Doctrine\ORM\PersistentCollection {#4382 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4384 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4386 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4388 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4390 …}
      +reports: Doctrine\ORM\PersistentCollection {#4392 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4394 …}
      +violations: Doctrine\ORM\PersistentCollection {#4396 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4398 …}
      +awards: Doctrine\ORM\PersistentCollection {#4400 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4402 …}
      +categories: Doctrine\ORM\PersistentCollection {#4404 …}
      -id: 68373
      -password: "$2y$13$SfQXR/mAT.O0avjVg6A5cuWqqbaqP5MlTUr6alcvuE8RQdUSjx4AS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4406 …}
      +apId: "multicorn@programming.dev"
      +apProfileId: "https://programming.dev/u/multicorn"
      +apPublicUrl: "https://programming.dev/u/multicorn"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "multicorn"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705048447 {#4338
        date: 2024-01-12 09:34:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698651947 {#4339
        date: 2023-10-30 08:45:47.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      If you like customizing your shell, there are really cool things one can do with zsh.\n
      \n
      I have mine set up with suggestions to complete the name of the program, or even command line options for it.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1699633657 {#4335
      date: 2023-11-10 17:27:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4341 …}
    +nested: Doctrine\ORM\PersistentCollection {#4343 …}
    +votes: Doctrine\ORM\PersistentCollection {#4345 …}
    +reports: Doctrine\ORM\PersistentCollection {#4347 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
    -id: 105241
    -bodyTs: "'command':33 'complet':25 'cool':10 'custom':4 'even':32 'like':3 'line':34 'mine':19 'name':27 'one':12 'option':35 'program':30 'realli':9 'set':20 'shell':6 'suggest':23 'thing':11 'zsh':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/4669979"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699559708 {#4336
      date: 2023-11-09 20:55:08.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.83 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4340
    +user: App\Entity\User {#4353
      +avatar: null
      +cover: null
      +email: "multicorn@programming.dev"
      +username: "@multicorn@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699633241 {#4337
        date: 2023-11-10 17:20:41.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4354 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4356 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4358 …}
      +entries: Doctrine\ORM\PersistentCollection {#4360 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4362 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4364 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4366 …}
      +posts: Doctrine\ORM\PersistentCollection {#4368 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4370 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4372 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4374 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4376 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4378 …}
      +follows: Doctrine\ORM\PersistentCollection {#4380 …}
      +followers: Doctrine\ORM\PersistentCollection {#4382 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4384 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4386 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4388 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4390 …}
      +reports: Doctrine\ORM\PersistentCollection {#4392 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4394 …}
      +violations: Doctrine\ORM\PersistentCollection {#4396 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4398 …}
      +awards: Doctrine\ORM\PersistentCollection {#4400 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4402 …}
      +categories: Doctrine\ORM\PersistentCollection {#4404 …}
      -id: 68373
      -password: "$2y$13$SfQXR/mAT.O0avjVg6A5cuWqqbaqP5MlTUr6alcvuE8RQdUSjx4AS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4406 …}
      +apId: "multicorn@programming.dev"
      +apProfileId: "https://programming.dev/u/multicorn"
      +apPublicUrl: "https://programming.dev/u/multicorn"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "multicorn"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705048447 {#4338
        date: 2024-01-12 09:34:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698651947 {#4339
        date: 2023-10-30 08:45:47.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      If you like customizing your shell, there are really cool things one can do with zsh.\n
      \n
      I have mine set up with suggestions to complete the name of the program, or even command line options for it.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1699633657 {#4335
      date: 2023-11-10 17:27:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4341 …}
    +nested: Doctrine\ORM\PersistentCollection {#4343 …}
    +votes: Doctrine\ORM\PersistentCollection {#4345 …}
    +reports: Doctrine\ORM\PersistentCollection {#4347 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
    -id: 105241
    -bodyTs: "'command':33 'complet':25 'cool':10 'custom':4 'even':32 'like':3 'line':34 'mine':19 'name':27 'one':12 'option':35 'program':30 'realli':9 'set':20 'shell':6 'suggest':23 'thing':11 'zsh':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/4669979"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699559708 {#4336
      date: 2023-11-09 20:55:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#8520
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4340
    +user: App\Entity\User {#4353
      +avatar: null
      +cover: null
      +email: "multicorn@programming.dev"
      +username: "@multicorn@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699633241 {#4337
        date: 2023-11-10 17:20:41.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4354 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4356 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4358 …}
      +entries: Doctrine\ORM\PersistentCollection {#4360 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4362 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4364 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4366 …}
      +posts: Doctrine\ORM\PersistentCollection {#4368 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4370 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4372 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4374 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4376 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4378 …}
      +follows: Doctrine\ORM\PersistentCollection {#4380 …}
      +followers: Doctrine\ORM\PersistentCollection {#4382 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4384 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4386 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4388 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4390 …}
      +reports: Doctrine\ORM\PersistentCollection {#4392 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4394 …}
      +violations: Doctrine\ORM\PersistentCollection {#4396 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4398 …}
      +awards: Doctrine\ORM\PersistentCollection {#4400 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4402 …}
      +categories: Doctrine\ORM\PersistentCollection {#4404 …}
      -id: 68373
      -password: "$2y$13$SfQXR/mAT.O0avjVg6A5cuWqqbaqP5MlTUr6alcvuE8RQdUSjx4AS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4406 …}
      +apId: "multicorn@programming.dev"
      +apProfileId: "https://programming.dev/u/multicorn"
      +apPublicUrl: "https://programming.dev/u/multicorn"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "multicorn"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705048447 {#4338
        date: 2024-01-12 09:34:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698651947 {#4339
        date: 2023-10-30 08:45:47.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      If you like customizing your shell, there are really cool things one can do with zsh.\n
      \n
      I have mine set up with suggestions to complete the name of the program, or even command line options for it.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1699633657 {#4335
      date: 2023-11-10 17:27:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4341 …}
    +nested: Doctrine\ORM\PersistentCollection {#4343 …}
    +votes: Doctrine\ORM\PersistentCollection {#4345 …}
    +reports: Doctrine\ORM\PersistentCollection {#4347 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
    -id: 105241
    -bodyTs: "'command':33 'complet':25 'cool':10 'custom':4 'even':32 'like':3 'line':34 'mine':19 'name':27 'one':12 'option':35 'program':30 'realli':9 'set':20 'shell':6 'suggest':23 'thing':11 'zsh':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/4669979"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699559708 {#4336
      date: 2023-11-09 20:55:08.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 2.78 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4340
    +user: App\Entity\User {#4353
      +avatar: null
      +cover: null
      +email: "multicorn@programming.dev"
      +username: "@multicorn@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699633241 {#4337
        date: 2023-11-10 17:20:41.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4354 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4356 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4358 …}
      +entries: Doctrine\ORM\PersistentCollection {#4360 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4362 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4364 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4366 …}
      +posts: Doctrine\ORM\PersistentCollection {#4368 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4370 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4372 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4374 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4376 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4378 …}
      +follows: Doctrine\ORM\PersistentCollection {#4380 …}
      +followers: Doctrine\ORM\PersistentCollection {#4382 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4384 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4386 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4388 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4390 …}
      +reports: Doctrine\ORM\PersistentCollection {#4392 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4394 …}
      +violations: Doctrine\ORM\PersistentCollection {#4396 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4398 …}
      +awards: Doctrine\ORM\PersistentCollection {#4400 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4402 …}
      +categories: Doctrine\ORM\PersistentCollection {#4404 …}
      -id: 68373
      -password: "$2y$13$SfQXR/mAT.O0avjVg6A5cuWqqbaqP5MlTUr6alcvuE8RQdUSjx4AS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4406 …}
      +apId: "multicorn@programming.dev"
      +apProfileId: "https://programming.dev/u/multicorn"
      +apPublicUrl: "https://programming.dev/u/multicorn"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "multicorn"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705048447 {#4338
        date: 2024-01-12 09:34:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698651947 {#4339
        date: 2023-10-30 08:45:47.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      If you like customizing your shell, there are really cool things one can do with zsh.\n
      \n
      I have mine set up with suggestions to complete the name of the program, or even command line options for it.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1699633657 {#4335
      date: 2023-11-10 17:27:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4341 …}
    +nested: Doctrine\ORM\PersistentCollection {#4343 …}
    +votes: Doctrine\ORM\PersistentCollection {#4345 …}
    +reports: Doctrine\ORM\PersistentCollection {#4347 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
    -id: 105241
    -bodyTs: "'command':33 'complet':25 'cool':10 'custom':4 'even':32 'like':3 'line':34 'mine':19 'name':27 'one':12 'option':35 'program':30 'realli':9 'set':20 'shell':6 'suggest':23 'thing':11 'zsh':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/4669979"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699559708 {#4336
      date: 2023-11-09 20:55:08.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8760
  +comment: App\Entity\EntryComment {#4340
    +user: App\Entity\User {#4353
      +avatar: null
      +cover: null
      +email: "multicorn@programming.dev"
      +username: "@multicorn@programming.dev"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1699633241 {#4337
        date: 2023-11-10 17:20:41.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4354 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4356 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4358 …}
      +entries: Doctrine\ORM\PersistentCollection {#4360 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4362 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4364 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4366 …}
      +posts: Doctrine\ORM\PersistentCollection {#4368 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4370 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4372 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4374 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4376 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4378 …}
      +follows: Doctrine\ORM\PersistentCollection {#4380 …}
      +followers: Doctrine\ORM\PersistentCollection {#4382 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4384 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4386 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4388 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4390 …}
      +reports: Doctrine\ORM\PersistentCollection {#4392 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4394 …}
      +violations: Doctrine\ORM\PersistentCollection {#4396 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4398 …}
      +awards: Doctrine\ORM\PersistentCollection {#4400 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4402 …}
      +categories: Doctrine\ORM\PersistentCollection {#4404 …}
      -id: 68373
      -password: "$2y$13$SfQXR/mAT.O0avjVg6A5cuWqqbaqP5MlTUr6alcvuE8RQdUSjx4AS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4406 …}
      +apId: "multicorn@programming.dev"
      +apProfileId: "https://programming.dev/u/multicorn"
      +apPublicUrl: "https://programming.dev/u/multicorn"
      +apFollowersUrl: null
      +apInboxUrl: "https://programming.dev/inbox"
      +apDomain: "programming.dev"
      +apPreferredUsername: "multicorn"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705048447 {#4338
        date: 2024-01-12 09:34:07.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1698651947 {#4339
        date: 2023-10-30 08:45:47.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      If you like customizing your shell, there are really cool things one can do with zsh.\n
      \n
      I have mine set up with suggestions to complete the name of the program, or even command line options for it.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1699633657 {#4335
      date: 2023-11-10 17:27:37.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4341 …}
    +nested: Doctrine\ORM\PersistentCollection {#4343 …}
    +votes: Doctrine\ORM\PersistentCollection {#4345 …}
    +reports: Doctrine\ORM\PersistentCollection {#4347 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4349 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4351 …}
    -id: 105241
    -bodyTs: "'command':33 'complet':25 'cool':10 'custom':4 'even':32 'like':3 'line':34 'mine':19 'name':27 'one':12 'option':35 'program':30 'realli':9 'set':20 'shell':6 'suggest':23 'thing':11 'zsh':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://programming.dev/comment/4669979"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699559708 {#4336
      date: 2023-11-09 20:55:08.0 +01:00
    }
  }
  +nestedComments: [
    105258 => App\Entity\EntryComment {#4737
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4340}
      +root: App\Entity\EntryComment {#4340}
      +body: "zsh … it is totally awesome, I saw a lot of crazy autocomplete stuff by people using it. I stick to bash mostly because it is simply installed everywhere and good enough for my needs. (With some help like autojump for bash.)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1699560002 {#4735
        date: 2023-11-09 21:00:02.0 +01:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@wolf@lemmy.zip"
        "@multicorn@programming.dev"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4738 …}
      +nested: Doctrine\ORM\PersistentCollection {#4740 …}
      +votes: Doctrine\ORM\PersistentCollection {#4742 …}
      +reports: Doctrine\ORM\PersistentCollection {#4744 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4746 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4748 …}
      -id: 105258
      -bodyTs: "'autocomplet':12 'autojump':39 'awesom':5 'bash':21,41 'crazi':11 'enough':31 'everywher':28 'good':30 'help':37 'instal':27 'like':38 'lot':9 'most':22 'need':34 'peopl':15 'saw':7 'simpli':26 'stick':19 'stuff':13 'total':4 'use':16 'zsh':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.zip/comment/4506205"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699560002 {#4736
        date: 2023-11-09 21:00:02.0 +01:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 56.93 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4413
    +user: App\Entity\User {#4426
      +avatar: Proxies\__CG__\App\Entity\Image {#4427 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4428 …}
      +email: "nold@lemmy.ml"
      +username: "@nold@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Hacking for freedom since 1990"
      +lastActive: DateTime @1699667078 {#4410
        date: 2023-11-11 02:44:38.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4429 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4431 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4433 …}
      +entries: Doctrine\ORM\PersistentCollection {#4435 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4437 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4439 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4441 …}
      +posts: Doctrine\ORM\PersistentCollection {#4443 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4445 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4447 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4449 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4451 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4453 …}
      +follows: Doctrine\ORM\PersistentCollection {#4455 …}
      +followers: Doctrine\ORM\PersistentCollection {#4457 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4459 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4461 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4463 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4465 …}
      +reports: Doctrine\ORM\PersistentCollection {#4467 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4469 …}
      +violations: Doctrine\ORM\PersistentCollection {#4471 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
      +awards: Doctrine\ORM\PersistentCollection {#4475 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4477 …}
      +categories: Doctrine\ORM\PersistentCollection {#4479 …}
      -id: 70977
      -password: "$2y$13$vF23taHY1hzsglYF4r14heaLZGgJ4LCkZZuds/4YESDVKbDDpf.DS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4481 …}
      +apId: "nold@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/nold"
      +apPublicUrl: "https://lemmy.ml/u/nold"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "nold"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700252771 {#4411
        date: 2023-11-17 21:26:11.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699059462 {#4412
        date: 2023-11-04 01:57:42.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Powerline!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699592512 {#4408
      date: 2023-11-10 06:01:52.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4414 …}
    +nested: Doctrine\ORM\PersistentCollection {#4416 …}
    +votes: Doctrine\ORM\PersistentCollection {#4418 …}
    +reports: Doctrine\ORM\PersistentCollection {#4420 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
    -id: 106610
    -bodyTs: "'powerlin':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5667085"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699592512 {#4409
      date: 2023-11-10 06:01:52.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8828
  +comment: App\Entity\EntryComment {#4413
    +user: App\Entity\User {#4426
      +avatar: Proxies\__CG__\App\Entity\Image {#4427 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4428 …}
      +email: "nold@lemmy.ml"
      +username: "@nold@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Hacking for freedom since 1990"
      +lastActive: DateTime @1699667078 {#4410
        date: 2023-11-11 02:44:38.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4429 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4431 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4433 …}
      +entries: Doctrine\ORM\PersistentCollection {#4435 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4437 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4439 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4441 …}
      +posts: Doctrine\ORM\PersistentCollection {#4443 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4445 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4447 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4449 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4451 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4453 …}
      +follows: Doctrine\ORM\PersistentCollection {#4455 …}
      +followers: Doctrine\ORM\PersistentCollection {#4457 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4459 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4461 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4463 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4465 …}
      +reports: Doctrine\ORM\PersistentCollection {#4467 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4469 …}
      +violations: Doctrine\ORM\PersistentCollection {#4471 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
      +awards: Doctrine\ORM\PersistentCollection {#4475 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4477 …}
      +categories: Doctrine\ORM\PersistentCollection {#4479 …}
      -id: 70977
      -password: "$2y$13$vF23taHY1hzsglYF4r14heaLZGgJ4LCkZZuds/4YESDVKbDDpf.DS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4481 …}
      +apId: "nold@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/nold"
      +apPublicUrl: "https://lemmy.ml/u/nold"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "nold"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700252771 {#4411
        date: 2023-11-17 21:26:11.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699059462 {#4412
        date: 2023-11-04 01:57:42.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Powerline!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699592512 {#4408
      date: 2023-11-10 06:01:52.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4414 …}
    +nested: Doctrine\ORM\PersistentCollection {#4416 …}
    +votes: Doctrine\ORM\PersistentCollection {#4418 …}
    +reports: Doctrine\ORM\PersistentCollection {#4420 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
    -id: 106610
    -bodyTs: "'powerlin':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5667085"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699592512 {#4409
      date: 2023-11-10 06:01:52.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.16 ms
Input props
[
  "user" => App\Entity\User {#4426
    +avatar: Proxies\__CG__\App\Entity\Image {#4427 …}
    +cover: Proxies\__CG__\App\Entity\Image {#4428 …}
    +email: "nold@lemmy.ml"
    +username: "@nold@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Hacking for freedom since 1990"
    +lastActive: DateTime @1699667078 {#4410
      date: 2023-11-11 02:44:38.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4429 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4431 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4433 …}
    +entries: Doctrine\ORM\PersistentCollection {#4435 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4437 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4439 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4441 …}
    +posts: Doctrine\ORM\PersistentCollection {#4443 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4445 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4447 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4449 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4451 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4453 …}
    +follows: Doctrine\ORM\PersistentCollection {#4455 …}
    +followers: Doctrine\ORM\PersistentCollection {#4457 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4459 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4461 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4463 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4465 …}
    +reports: Doctrine\ORM\PersistentCollection {#4467 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4469 …}
    +violations: Doctrine\ORM\PersistentCollection {#4471 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
    +awards: Doctrine\ORM\PersistentCollection {#4475 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4477 …}
    +categories: Doctrine\ORM\PersistentCollection {#4479 …}
    -id: 70977
    -password: "$2y$13$vF23taHY1hzsglYF4r14heaLZGgJ4LCkZZuds/4YESDVKbDDpf.DS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4481 …}
    +apId: "nold@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/nold"
    +apPublicUrl: "https://lemmy.ml/u/nold"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "nold"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700252771 {#4411
      date: 2023-11-17 21:26:11.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699059462 {#4412
      date: 2023-11-04 01:57:42.0 +01:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8873
  +user: App\Entity\User {#4426
    +avatar: Proxies\__CG__\App\Entity\Image {#4427 …}
    +cover: Proxies\__CG__\App\Entity\Image {#4428 …}
    +email: "nold@lemmy.ml"
    +username: "@nold@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Hacking for freedom since 1990"
    +lastActive: DateTime @1699667078 {#4410
      date: 2023-11-11 02:44:38.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4429 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4431 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4433 …}
    +entries: Doctrine\ORM\PersistentCollection {#4435 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4437 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4439 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4441 …}
    +posts: Doctrine\ORM\PersistentCollection {#4443 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4445 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4447 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4449 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4451 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4453 …}
    +follows: Doctrine\ORM\PersistentCollection {#4455 …}
    +followers: Doctrine\ORM\PersistentCollection {#4457 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4459 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4461 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4463 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4465 …}
    +reports: Doctrine\ORM\PersistentCollection {#4467 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4469 …}
    +violations: Doctrine\ORM\PersistentCollection {#4471 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
    +awards: Doctrine\ORM\PersistentCollection {#4475 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4477 …}
    +categories: Doctrine\ORM\PersistentCollection {#4479 …}
    -id: 70977
    -password: "$2y$13$vF23taHY1hzsglYF4r14heaLZGgJ4LCkZZuds/4YESDVKbDDpf.DS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4481 …}
    +apId: "nold@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/nold"
    +apPublicUrl: "https://lemmy.ml/u/nold"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "nold"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700252771 {#4411
      date: 2023-11-17 21:26:11.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699059462 {#4412
      date: 2023-11-04 01:57:42.0 +01:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.16 ms
Input props
[
  "date" => DateTimeImmutable @1699592512 {#4409
    date: 2023-11-10 06:01:52.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8928
  +date: DateTimeImmutable @1699592512 {#4409
    date: 2023-11-10 06:01:52.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.10 ms
Input props
[
  "createdAt" => DateTimeImmutable @1699592512 {#4409
    date: 2023-11-10 06:01:52.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#8982
  +createdAt: DateTimeImmutable @1699592512 {#4409
    date: 2023-11-10 06:01:52.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 20.87 ms
Input props
[
  "user" => App\Entity\User {#4426
    +avatar: Proxies\__CG__\App\Entity\Image {#4427 …}
    +cover: Proxies\__CG__\App\Entity\Image {#4428 …}
    +email: "nold@lemmy.ml"
    +username: "@nold@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Hacking for freedom since 1990"
    +lastActive: DateTime @1699667078 {#4410
      date: 2023-11-11 02:44:38.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4429 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4431 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4433 …}
    +entries: Doctrine\ORM\PersistentCollection {#4435 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4437 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4439 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4441 …}
    +posts: Doctrine\ORM\PersistentCollection {#4443 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4445 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4447 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4449 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4451 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4453 …}
    +follows: Doctrine\ORM\PersistentCollection {#4455 …}
    +followers: Doctrine\ORM\PersistentCollection {#4457 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4459 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4461 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4463 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4465 …}
    +reports: Doctrine\ORM\PersistentCollection {#4467 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4469 …}
    +violations: Doctrine\ORM\PersistentCollection {#4471 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
    +awards: Doctrine\ORM\PersistentCollection {#4475 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4477 …}
    +categories: Doctrine\ORM\PersistentCollection {#4479 …}
    -id: 70977
    -password: "$2y$13$vF23taHY1hzsglYF4r14heaLZGgJ4LCkZZuds/4YESDVKbDDpf.DS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4481 …}
    +apId: "nold@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/nold"
    +apPublicUrl: "https://lemmy.ml/u/nold"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "nold"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700252771 {#4411
      date: 2023-11-17 21:26:11.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699059462 {#4412
      date: 2023-11-04 01:57:42.0 +01:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#9036
  +width: 40
  +height: 40
  +user: App\Entity\User {#4426
    +avatar: Proxies\__CG__\App\Entity\Image {#4427 …}
    +cover: Proxies\__CG__\App\Entity\Image {#4428 …}
    +email: "nold@lemmy.ml"
    +username: "@nold@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Hacking for freedom since 1990"
    +lastActive: DateTime @1699667078 {#4410
      date: 2023-11-11 02:44:38.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4429 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4431 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4433 …}
    +entries: Doctrine\ORM\PersistentCollection {#4435 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4437 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4439 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4441 …}
    +posts: Doctrine\ORM\PersistentCollection {#4443 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4445 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4447 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4449 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4451 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4453 …}
    +follows: Doctrine\ORM\PersistentCollection {#4455 …}
    +followers: Doctrine\ORM\PersistentCollection {#4457 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4459 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4461 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4463 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4465 …}
    +reports: Doctrine\ORM\PersistentCollection {#4467 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4469 …}
    +violations: Doctrine\ORM\PersistentCollection {#4471 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
    +awards: Doctrine\ORM\PersistentCollection {#4475 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4477 …}
    +categories: Doctrine\ORM\PersistentCollection {#4479 …}
    -id: 70977
    -password: "$2y$13$vF23taHY1hzsglYF4r14heaLZGgJ4LCkZZuds/4YESDVKbDDpf.DS"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4481 …}
    +apId: "nold@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/nold"
    +apPublicUrl: "https://lemmy.ml/u/nold"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "nold"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1700252771 {#4411
      date: 2023-11-17 21:26:11.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1699059462 {#4412
      date: 2023-11-04 01:57:42.0 +01:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.49 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4413
    +user: App\Entity\User {#4426
      +avatar: Proxies\__CG__\App\Entity\Image {#4427 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4428 …}
      +email: "nold@lemmy.ml"
      +username: "@nold@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Hacking for freedom since 1990"
      +lastActive: DateTime @1699667078 {#4410
        date: 2023-11-11 02:44:38.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4429 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4431 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4433 …}
      +entries: Doctrine\ORM\PersistentCollection {#4435 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4437 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4439 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4441 …}
      +posts: Doctrine\ORM\PersistentCollection {#4443 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4445 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4447 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4449 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4451 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4453 …}
      +follows: Doctrine\ORM\PersistentCollection {#4455 …}
      +followers: Doctrine\ORM\PersistentCollection {#4457 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4459 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4461 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4463 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4465 …}
      +reports: Doctrine\ORM\PersistentCollection {#4467 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4469 …}
      +violations: Doctrine\ORM\PersistentCollection {#4471 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
      +awards: Doctrine\ORM\PersistentCollection {#4475 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4477 …}
      +categories: Doctrine\ORM\PersistentCollection {#4479 …}
      -id: 70977
      -password: "$2y$13$vF23taHY1hzsglYF4r14heaLZGgJ4LCkZZuds/4YESDVKbDDpf.DS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4481 …}
      +apId: "nold@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/nold"
      +apPublicUrl: "https://lemmy.ml/u/nold"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "nold"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700252771 {#4411
        date: 2023-11-17 21:26:11.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699059462 {#4412
        date: 2023-11-04 01:57:42.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Powerline!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699592512 {#4408
      date: 2023-11-10 06:01:52.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4414 …}
    +nested: Doctrine\ORM\PersistentCollection {#4416 …}
    +votes: Doctrine\ORM\PersistentCollection {#4418 …}
    +reports: Doctrine\ORM\PersistentCollection {#4420 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
    -id: 106610
    -bodyTs: "'powerlin':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5667085"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699592512 {#4409
      date: 2023-11-10 06:01:52.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#9107
  +subject: App\Entity\EntryComment {#4413
    +user: App\Entity\User {#4426
      +avatar: Proxies\__CG__\App\Entity\Image {#4427 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4428 …}
      +email: "nold@lemmy.ml"
      +username: "@nold@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Hacking for freedom since 1990"
      +lastActive: DateTime @1699667078 {#4410
        date: 2023-11-11 02:44:38.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4429 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4431 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4433 …}
      +entries: Doctrine\ORM\PersistentCollection {#4435 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4437 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4439 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4441 …}
      +posts: Doctrine\ORM\PersistentCollection {#4443 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4445 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4447 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4449 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4451 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4453 …}
      +follows: Doctrine\ORM\PersistentCollection {#4455 …}
      +followers: Doctrine\ORM\PersistentCollection {#4457 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4459 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4461 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4463 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4465 …}
      +reports: Doctrine\ORM\PersistentCollection {#4467 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4469 …}
      +violations: Doctrine\ORM\PersistentCollection {#4471 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
      +awards: Doctrine\ORM\PersistentCollection {#4475 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4477 …}
      +categories: Doctrine\ORM\PersistentCollection {#4479 …}
      -id: 70977
      -password: "$2y$13$vF23taHY1hzsglYF4r14heaLZGgJ4LCkZZuds/4YESDVKbDDpf.DS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4481 …}
      +apId: "nold@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/nold"
      +apPublicUrl: "https://lemmy.ml/u/nold"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "nold"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700252771 {#4411
        date: 2023-11-17 21:26:11.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699059462 {#4412
        date: 2023-11-04 01:57:42.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Powerline!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699592512 {#4408
      date: 2023-11-10 06:01:52.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4414 …}
    +nested: Doctrine\ORM\PersistentCollection {#4416 …}
    +votes: Doctrine\ORM\PersistentCollection {#4418 …}
    +reports: Doctrine\ORM\PersistentCollection {#4420 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
    -id: 106610
    -bodyTs: "'powerlin':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5667085"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699592512 {#4409
      date: 2023-11-10 06:01:52.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.76 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4413
    +user: App\Entity\User {#4426
      +avatar: Proxies\__CG__\App\Entity\Image {#4427 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4428 …}
      +email: "nold@lemmy.ml"
      +username: "@nold@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Hacking for freedom since 1990"
      +lastActive: DateTime @1699667078 {#4410
        date: 2023-11-11 02:44:38.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4429 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4431 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4433 …}
      +entries: Doctrine\ORM\PersistentCollection {#4435 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4437 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4439 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4441 …}
      +posts: Doctrine\ORM\PersistentCollection {#4443 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4445 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4447 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4449 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4451 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4453 …}
      +follows: Doctrine\ORM\PersistentCollection {#4455 …}
      +followers: Doctrine\ORM\PersistentCollection {#4457 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4459 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4461 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4463 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4465 …}
      +reports: Doctrine\ORM\PersistentCollection {#4467 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4469 …}
      +violations: Doctrine\ORM\PersistentCollection {#4471 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
      +awards: Doctrine\ORM\PersistentCollection {#4475 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4477 …}
      +categories: Doctrine\ORM\PersistentCollection {#4479 …}
      -id: 70977
      -password: "$2y$13$vF23taHY1hzsglYF4r14heaLZGgJ4LCkZZuds/4YESDVKbDDpf.DS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4481 …}
      +apId: "nold@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/nold"
      +apPublicUrl: "https://lemmy.ml/u/nold"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "nold"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700252771 {#4411
        date: 2023-11-17 21:26:11.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699059462 {#4412
        date: 2023-11-04 01:57:42.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Powerline!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699592512 {#4408
      date: 2023-11-10 06:01:52.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4414 …}
    +nested: Doctrine\ORM\PersistentCollection {#4416 …}
    +votes: Doctrine\ORM\PersistentCollection {#4418 …}
    +reports: Doctrine\ORM\PersistentCollection {#4420 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
    -id: 106610
    -bodyTs: "'powerlin':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5667085"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699592512 {#4409
      date: 2023-11-10 06:01:52.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#9164
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4413
    +user: App\Entity\User {#4426
      +avatar: Proxies\__CG__\App\Entity\Image {#4427 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4428 …}
      +email: "nold@lemmy.ml"
      +username: "@nold@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Hacking for freedom since 1990"
      +lastActive: DateTime @1699667078 {#4410
        date: 2023-11-11 02:44:38.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4429 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4431 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4433 …}
      +entries: Doctrine\ORM\PersistentCollection {#4435 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4437 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4439 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4441 …}
      +posts: Doctrine\ORM\PersistentCollection {#4443 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4445 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4447 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4449 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4451 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4453 …}
      +follows: Doctrine\ORM\PersistentCollection {#4455 …}
      +followers: Doctrine\ORM\PersistentCollection {#4457 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4459 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4461 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4463 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4465 …}
      +reports: Doctrine\ORM\PersistentCollection {#4467 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4469 …}
      +violations: Doctrine\ORM\PersistentCollection {#4471 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
      +awards: Doctrine\ORM\PersistentCollection {#4475 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4477 …}
      +categories: Doctrine\ORM\PersistentCollection {#4479 …}
      -id: 70977
      -password: "$2y$13$vF23taHY1hzsglYF4r14heaLZGgJ4LCkZZuds/4YESDVKbDDpf.DS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4481 …}
      +apId: "nold@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/nold"
      +apPublicUrl: "https://lemmy.ml/u/nold"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "nold"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700252771 {#4411
        date: 2023-11-17 21:26:11.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699059462 {#4412
        date: 2023-11-04 01:57:42.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Powerline!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699592512 {#4408
      date: 2023-11-10 06:01:52.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4414 …}
    +nested: Doctrine\ORM\PersistentCollection {#4416 …}
    +votes: Doctrine\ORM\PersistentCollection {#4418 …}
    +reports: Doctrine\ORM\PersistentCollection {#4420 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
    -id: 106610
    -bodyTs: "'powerlin':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5667085"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699592512 {#4409
      date: 2023-11-10 06:01:52.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 2.82 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4413
    +user: App\Entity\User {#4426
      +avatar: Proxies\__CG__\App\Entity\Image {#4427 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4428 …}
      +email: "nold@lemmy.ml"
      +username: "@nold@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Hacking for freedom since 1990"
      +lastActive: DateTime @1699667078 {#4410
        date: 2023-11-11 02:44:38.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4429 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4431 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4433 …}
      +entries: Doctrine\ORM\PersistentCollection {#4435 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4437 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4439 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4441 …}
      +posts: Doctrine\ORM\PersistentCollection {#4443 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4445 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4447 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4449 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4451 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4453 …}
      +follows: Doctrine\ORM\PersistentCollection {#4455 …}
      +followers: Doctrine\ORM\PersistentCollection {#4457 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4459 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4461 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4463 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4465 …}
      +reports: Doctrine\ORM\PersistentCollection {#4467 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4469 …}
      +violations: Doctrine\ORM\PersistentCollection {#4471 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
      +awards: Doctrine\ORM\PersistentCollection {#4475 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4477 …}
      +categories: Doctrine\ORM\PersistentCollection {#4479 …}
      -id: 70977
      -password: "$2y$13$vF23taHY1hzsglYF4r14heaLZGgJ4LCkZZuds/4YESDVKbDDpf.DS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4481 …}
      +apId: "nold@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/nold"
      +apPublicUrl: "https://lemmy.ml/u/nold"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "nold"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700252771 {#4411
        date: 2023-11-17 21:26:11.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699059462 {#4412
        date: 2023-11-04 01:57:42.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Powerline!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699592512 {#4408
      date: 2023-11-10 06:01:52.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4414 …}
    +nested: Doctrine\ORM\PersistentCollection {#4416 …}
    +votes: Doctrine\ORM\PersistentCollection {#4418 …}
    +reports: Doctrine\ORM\PersistentCollection {#4420 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
    -id: 106610
    -bodyTs: "'powerlin':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5667085"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699592512 {#4409
      date: 2023-11-10 06:01:52.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#9404
  +comment: App\Entity\EntryComment {#4413
    +user: App\Entity\User {#4426
      +avatar: Proxies\__CG__\App\Entity\Image {#4427 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4428 …}
      +email: "nold@lemmy.ml"
      +username: "@nold@lemmy.ml"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Hacking for freedom since 1990"
      +lastActive: DateTime @1699667078 {#4410
        date: 2023-11-11 02:44:38.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4429 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4431 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4433 …}
      +entries: Doctrine\ORM\PersistentCollection {#4435 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4437 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4439 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4441 …}
      +posts: Doctrine\ORM\PersistentCollection {#4443 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4445 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4447 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4449 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4451 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4453 …}
      +follows: Doctrine\ORM\PersistentCollection {#4455 …}
      +followers: Doctrine\ORM\PersistentCollection {#4457 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4459 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4461 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4463 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4465 …}
      +reports: Doctrine\ORM\PersistentCollection {#4467 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4469 …}
      +violations: Doctrine\ORM\PersistentCollection {#4471 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4473 …}
      +awards: Doctrine\ORM\PersistentCollection {#4475 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4477 …}
      +categories: Doctrine\ORM\PersistentCollection {#4479 …}
      -id: 70977
      -password: "$2y$13$vF23taHY1hzsglYF4r14heaLZGgJ4LCkZZuds/4YESDVKbDDpf.DS"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4481 …}
      +apId: "nold@lemmy.ml"
      +apProfileId: "https://lemmy.ml/u/nold"
      +apPublicUrl: "https://lemmy.ml/u/nold"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.ml/inbox"
      +apDomain: "lemmy.ml"
      +apPreferredUsername: "nold"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1700252771 {#4411
        date: 2023-11-17 21:26:11.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1699059462 {#4412
        date: 2023-11-04 01:57:42.0 +01:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Powerline!"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699592512 {#4408
      date: 2023-11-10 06:01:52.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4414 …}
    +nested: Doctrine\ORM\PersistentCollection {#4416 …}
    +votes: Doctrine\ORM\PersistentCollection {#4418 …}
    +reports: Doctrine\ORM\PersistentCollection {#4420 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4422 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4424 …}
    -id: 106610
    -bodyTs: "'powerlin':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/5667085"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699592512 {#4409
      date: 2023-11-10 06:01:52.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 77.47 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4489
    +user: App\Entity\User {#4502
      +avatar: Proxies\__CG__\App\Entity\Image {#4503 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4504 …}
      +email: "GustavoM@lemmy.world"
      +username: "@GustavoM@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Definitely Not GustavoM. :^)"
      +lastActive: DateTime @1719679748 {#4486
        date: 2024-06-29 18:49:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4505 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4507 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4509 …}
      +entries: Doctrine\ORM\PersistentCollection {#4511 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4513 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4515 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4517 …}
      +posts: Doctrine\ORM\PersistentCollection {#4519 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4527 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4529 …}
      +follows: Doctrine\ORM\PersistentCollection {#4531 …}
      +followers: Doctrine\ORM\PersistentCollection {#4533 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4535 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4537 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4539 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4541 …}
      +reports: Doctrine\ORM\PersistentCollection {#4543 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
      +violations: Doctrine\ORM\PersistentCollection {#4547 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
      +awards: Doctrine\ORM\PersistentCollection {#4551 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4553 …}
      +categories: Doctrine\ORM\PersistentCollection {#4555 …}
      -id: 55594
      -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4557 …}
      +apId: "GustavoM@lemmy.world"
      +apProfileId: "https://lemmy.world/u/GustavoM"
      +apPublicUrl: "https://lemmy.world/u/GustavoM"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "GustavoM"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727835761 {#4487
        date: 2024-10-02 04:22:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696981499 {#4488
        date: 2023-10-11 01:44:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Use `PS1=“▌t▐nw→”` to display your local time each time you press enter. And make aliases of lengthy commands such as `alias internettest=“curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -”` (You need to install python to run this.)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699575764 {#4483
      date: 2023-11-10 01:22:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4490 …}
    +nested: Doctrine\ORM\PersistentCollection {#4492 …}
    +votes: Doctrine\ORM\PersistentCollection {#4494 …}
    +reports: Doctrine\ORM\PersistentCollection {#4496 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4498 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4500 …}
    -id: 106000
    -bodyTs: "'/sivel/speedtest-cli/master/speedtest.py':29 'alia':23 'alias':17 'command':20 'curl':25 'display':6 'enter':14 'instal':34 'internettest':24 'lengthi':19 'local':8 'make':16 'need':32 'nw':4 'press':13 'ps1':2 'python':30,35 'raw.githubusercontent.com':28 'raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py':27 'run':37 'time':9,11 'use':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5194136"
    +editedAt: DateTimeImmutable @1699652475 {#4484
      date: 2023-11-10 22:41:15.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699575764 {#4485
      date: 2023-11-10 01:22:44.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#9472
  +comment: App\Entity\EntryComment {#4489
    +user: App\Entity\User {#4502
      +avatar: Proxies\__CG__\App\Entity\Image {#4503 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4504 …}
      +email: "GustavoM@lemmy.world"
      +username: "@GustavoM@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Definitely Not GustavoM. :^)"
      +lastActive: DateTime @1719679748 {#4486
        date: 2024-06-29 18:49:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4505 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4507 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4509 …}
      +entries: Doctrine\ORM\PersistentCollection {#4511 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4513 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4515 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4517 …}
      +posts: Doctrine\ORM\PersistentCollection {#4519 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4527 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4529 …}
      +follows: Doctrine\ORM\PersistentCollection {#4531 …}
      +followers: Doctrine\ORM\PersistentCollection {#4533 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4535 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4537 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4539 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4541 …}
      +reports: Doctrine\ORM\PersistentCollection {#4543 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
      +violations: Doctrine\ORM\PersistentCollection {#4547 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
      +awards: Doctrine\ORM\PersistentCollection {#4551 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4553 …}
      +categories: Doctrine\ORM\PersistentCollection {#4555 …}
      -id: 55594
      -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4557 …}
      +apId: "GustavoM@lemmy.world"
      +apProfileId: "https://lemmy.world/u/GustavoM"
      +apPublicUrl: "https://lemmy.world/u/GustavoM"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "GustavoM"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727835761 {#4487
        date: 2024-10-02 04:22:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696981499 {#4488
        date: 2023-10-11 01:44:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Use `PS1=“▌t▐nw→”` to display your local time each time you press enter. And make aliases of lengthy commands such as `alias internettest=“curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -”` (You need to install python to run this.)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699575764 {#4483
      date: 2023-11-10 01:22:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4490 …}
    +nested: Doctrine\ORM\PersistentCollection {#4492 …}
    +votes: Doctrine\ORM\PersistentCollection {#4494 …}
    +reports: Doctrine\ORM\PersistentCollection {#4496 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4498 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4500 …}
    -id: 106000
    -bodyTs: "'/sivel/speedtest-cli/master/speedtest.py':29 'alia':23 'alias':17 'command':20 'curl':25 'display':6 'enter':14 'instal':34 'internettest':24 'lengthi':19 'local':8 'make':16 'need':32 'nw':4 'press':13 'ps1':2 'python':30,35 'raw.githubusercontent.com':28 'raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py':27 'run':37 'time':9,11 'use':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5194136"
    +editedAt: DateTimeImmutable @1699652475 {#4484
      date: 2023-11-10 22:41:15.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699575764 {#4485
      date: 2023-11-10 01:22:44.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.17 ms
Input props
[
  "user" => App\Entity\User {#4502
    +avatar: Proxies\__CG__\App\Entity\Image {#4503 …}
    +cover: Proxies\__CG__\App\Entity\Image {#4504 …}
    +email: "GustavoM@lemmy.world"
    +username: "@GustavoM@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Definitely Not GustavoM. :^)"
    +lastActive: DateTime @1719679748 {#4486
      date: 2024-06-29 18:49:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4505 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4507 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4509 …}
    +entries: Doctrine\ORM\PersistentCollection {#4511 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4513 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4515 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4517 …}
    +posts: Doctrine\ORM\PersistentCollection {#4519 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4521 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4523 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4525 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4527 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4529 …}
    +follows: Doctrine\ORM\PersistentCollection {#4531 …}
    +followers: Doctrine\ORM\PersistentCollection {#4533 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4535 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4537 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4539 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4541 …}
    +reports: Doctrine\ORM\PersistentCollection {#4543 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
    +violations: Doctrine\ORM\PersistentCollection {#4547 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
    +awards: Doctrine\ORM\PersistentCollection {#4551 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4553 …}
    +categories: Doctrine\ORM\PersistentCollection {#4555 …}
    -id: 55594
    -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4557 …}
    +apId: "GustavoM@lemmy.world"
    +apProfileId: "https://lemmy.world/u/GustavoM"
    +apPublicUrl: "https://lemmy.world/u/GustavoM"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "GustavoM"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727835761 {#4487
      date: 2024-10-02 04:22:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696981499 {#4488
      date: 2023-10-11 01:44:59.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#9517
  +user: App\Entity\User {#4502
    +avatar: Proxies\__CG__\App\Entity\Image {#4503 …}
    +cover: Proxies\__CG__\App\Entity\Image {#4504 …}
    +email: "GustavoM@lemmy.world"
    +username: "@GustavoM@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Definitely Not GustavoM. :^)"
    +lastActive: DateTime @1719679748 {#4486
      date: 2024-06-29 18:49:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4505 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4507 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4509 …}
    +entries: Doctrine\ORM\PersistentCollection {#4511 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4513 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4515 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4517 …}
    +posts: Doctrine\ORM\PersistentCollection {#4519 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4521 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4523 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4525 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4527 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4529 …}
    +follows: Doctrine\ORM\PersistentCollection {#4531 …}
    +followers: Doctrine\ORM\PersistentCollection {#4533 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4535 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4537 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4539 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4541 …}
    +reports: Doctrine\ORM\PersistentCollection {#4543 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
    +violations: Doctrine\ORM\PersistentCollection {#4547 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
    +awards: Doctrine\ORM\PersistentCollection {#4551 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4553 …}
    +categories: Doctrine\ORM\PersistentCollection {#4555 …}
    -id: 55594
    -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4557 …}
    +apId: "GustavoM@lemmy.world"
    +apProfileId: "https://lemmy.world/u/GustavoM"
    +apPublicUrl: "https://lemmy.world/u/GustavoM"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "GustavoM"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727835761 {#4487
      date: 2024-10-02 04:22:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696981499 {#4488
      date: 2023-10-11 01:44:59.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.17 ms
Input props
[
  "date" => DateTimeImmutable @1699575764 {#4485
    date: 2023-11-10 01:22:44.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#9572
  +date: DateTimeImmutable @1699575764 {#4485
    date: 2023-11-10 01:22:44.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.16 ms
Input props
[
  "createdAt" => DateTimeImmutable @1699575764 {#4485
    date: 2023-11-10 01:22:44.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1699652475 {#4484
    date: 2023-11-10 22:41:15.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#9626
  +createdAt: DateTimeImmutable @1699575764 {#4485
    date: 2023-11-10 01:22:44.0 +01:00
  }
  +editedAt: DateTimeImmutable @1699652475 {#4484
    date: 2023-11-10 22:41:15.0 +01:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 36.72 ms
Input props
[
  "user" => App\Entity\User {#4502
    +avatar: Proxies\__CG__\App\Entity\Image {#4503 …}
    +cover: Proxies\__CG__\App\Entity\Image {#4504 …}
    +email: "GustavoM@lemmy.world"
    +username: "@GustavoM@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Definitely Not GustavoM. :^)"
    +lastActive: DateTime @1719679748 {#4486
      date: 2024-06-29 18:49:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4505 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4507 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4509 …}
    +entries: Doctrine\ORM\PersistentCollection {#4511 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4513 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4515 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4517 …}
    +posts: Doctrine\ORM\PersistentCollection {#4519 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4521 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4523 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4525 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4527 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4529 …}
    +follows: Doctrine\ORM\PersistentCollection {#4531 …}
    +followers: Doctrine\ORM\PersistentCollection {#4533 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4535 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4537 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4539 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4541 …}
    +reports: Doctrine\ORM\PersistentCollection {#4543 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
    +violations: Doctrine\ORM\PersistentCollection {#4547 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
    +awards: Doctrine\ORM\PersistentCollection {#4551 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4553 …}
    +categories: Doctrine\ORM\PersistentCollection {#4555 …}
    -id: 55594
    -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4557 …}
    +apId: "GustavoM@lemmy.world"
    +apProfileId: "https://lemmy.world/u/GustavoM"
    +apPublicUrl: "https://lemmy.world/u/GustavoM"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "GustavoM"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727835761 {#4487
      date: 2024-10-02 04:22:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696981499 {#4488
      date: 2023-10-11 01:44:59.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#9680
  +width: 40
  +height: 40
  +user: App\Entity\User {#4502
    +avatar: Proxies\__CG__\App\Entity\Image {#4503 …}
    +cover: Proxies\__CG__\App\Entity\Image {#4504 …}
    +email: "GustavoM@lemmy.world"
    +username: "@GustavoM@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "Definitely Not GustavoM. :^)"
    +lastActive: DateTime @1719679748 {#4486
      date: 2024-06-29 18:49:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4505 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4507 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4509 …}
    +entries: Doctrine\ORM\PersistentCollection {#4511 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4513 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4515 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4517 …}
    +posts: Doctrine\ORM\PersistentCollection {#4519 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4521 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4523 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4525 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4527 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4529 …}
    +follows: Doctrine\ORM\PersistentCollection {#4531 …}
    +followers: Doctrine\ORM\PersistentCollection {#4533 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4535 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4537 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4539 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4541 …}
    +reports: Doctrine\ORM\PersistentCollection {#4543 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
    +violations: Doctrine\ORM\PersistentCollection {#4547 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
    +awards: Doctrine\ORM\PersistentCollection {#4551 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4553 …}
    +categories: Doctrine\ORM\PersistentCollection {#4555 …}
    -id: 55594
    -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4557 …}
    +apId: "GustavoM@lemmy.world"
    +apProfileId: "https://lemmy.world/u/GustavoM"
    +apPublicUrl: "https://lemmy.world/u/GustavoM"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "GustavoM"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727835761 {#4487
      date: 2024-10-02 04:22:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1696981499 {#4488
      date: 2023-10-11 01:44:59.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.66 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4489
    +user: App\Entity\User {#4502
      +avatar: Proxies\__CG__\App\Entity\Image {#4503 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4504 …}
      +email: "GustavoM@lemmy.world"
      +username: "@GustavoM@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Definitely Not GustavoM. :^)"
      +lastActive: DateTime @1719679748 {#4486
        date: 2024-06-29 18:49:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4505 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4507 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4509 …}
      +entries: Doctrine\ORM\PersistentCollection {#4511 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4513 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4515 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4517 …}
      +posts: Doctrine\ORM\PersistentCollection {#4519 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4527 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4529 …}
      +follows: Doctrine\ORM\PersistentCollection {#4531 …}
      +followers: Doctrine\ORM\PersistentCollection {#4533 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4535 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4537 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4539 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4541 …}
      +reports: Doctrine\ORM\PersistentCollection {#4543 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
      +violations: Doctrine\ORM\PersistentCollection {#4547 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
      +awards: Doctrine\ORM\PersistentCollection {#4551 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4553 …}
      +categories: Doctrine\ORM\PersistentCollection {#4555 …}
      -id: 55594
      -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4557 …}
      +apId: "GustavoM@lemmy.world"
      +apProfileId: "https://lemmy.world/u/GustavoM"
      +apPublicUrl: "https://lemmy.world/u/GustavoM"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "GustavoM"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727835761 {#4487
        date: 2024-10-02 04:22:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696981499 {#4488
        date: 2023-10-11 01:44:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Use `PS1=“▌t▐nw→”` to display your local time each time you press enter. And make aliases of lengthy commands such as `alias internettest=“curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -”` (You need to install python to run this.)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699575764 {#4483
      date: 2023-11-10 01:22:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4490 …}
    +nested: Doctrine\ORM\PersistentCollection {#4492 …}
    +votes: Doctrine\ORM\PersistentCollection {#4494 …}
    +reports: Doctrine\ORM\PersistentCollection {#4496 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4498 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4500 …}
    -id: 106000
    -bodyTs: "'/sivel/speedtest-cli/master/speedtest.py':29 'alia':23 'alias':17 'command':20 'curl':25 'display':6 'enter':14 'instal':34 'internettest':24 'lengthi':19 'local':8 'make':16 'need':32 'nw':4 'press':13 'ps1':2 'python':30,35 'raw.githubusercontent.com':28 'raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py':27 'run':37 'time':9,11 'use':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5194136"
    +editedAt: DateTimeImmutable @1699652475 {#4484
      date: 2023-11-10 22:41:15.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699575764 {#4485
      date: 2023-11-10 01:22:44.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#9759
  +subject: App\Entity\EntryComment {#4489
    +user: App\Entity\User {#4502
      +avatar: Proxies\__CG__\App\Entity\Image {#4503 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4504 …}
      +email: "GustavoM@lemmy.world"
      +username: "@GustavoM@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Definitely Not GustavoM. :^)"
      +lastActive: DateTime @1719679748 {#4486
        date: 2024-06-29 18:49:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4505 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4507 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4509 …}
      +entries: Doctrine\ORM\PersistentCollection {#4511 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4513 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4515 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4517 …}
      +posts: Doctrine\ORM\PersistentCollection {#4519 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4527 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4529 …}
      +follows: Doctrine\ORM\PersistentCollection {#4531 …}
      +followers: Doctrine\ORM\PersistentCollection {#4533 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4535 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4537 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4539 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4541 …}
      +reports: Doctrine\ORM\PersistentCollection {#4543 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
      +violations: Doctrine\ORM\PersistentCollection {#4547 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
      +awards: Doctrine\ORM\PersistentCollection {#4551 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4553 …}
      +categories: Doctrine\ORM\PersistentCollection {#4555 …}
      -id: 55594
      -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4557 …}
      +apId: "GustavoM@lemmy.world"
      +apProfileId: "https://lemmy.world/u/GustavoM"
      +apPublicUrl: "https://lemmy.world/u/GustavoM"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "GustavoM"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727835761 {#4487
        date: 2024-10-02 04:22:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696981499 {#4488
        date: 2023-10-11 01:44:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Use `PS1=“▌t▐nw→”` to display your local time each time you press enter. And make aliases of lengthy commands such as `alias internettest=“curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -”` (You need to install python to run this.)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699575764 {#4483
      date: 2023-11-10 01:22:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4490 …}
    +nested: Doctrine\ORM\PersistentCollection {#4492 …}
    +votes: Doctrine\ORM\PersistentCollection {#4494 …}
    +reports: Doctrine\ORM\PersistentCollection {#4496 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4498 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4500 …}
    -id: 106000
    -bodyTs: "'/sivel/speedtest-cli/master/speedtest.py':29 'alia':23 'alias':17 'command':20 'curl':25 'display':6 'enter':14 'instal':34 'internettest':24 'lengthi':19 'local':8 'make':16 'need':32 'nw':4 'press':13 'ps1':2 'python':30,35 'raw.githubusercontent.com':28 'raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py':27 'run':37 'time':9,11 'use':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5194136"
    +editedAt: DateTimeImmutable @1699652475 {#4484
      date: 2023-11-10 22:41:15.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699575764 {#4485
      date: 2023-11-10 01:22:44.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.78 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4489
    +user: App\Entity\User {#4502
      +avatar: Proxies\__CG__\App\Entity\Image {#4503 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4504 …}
      +email: "GustavoM@lemmy.world"
      +username: "@GustavoM@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Definitely Not GustavoM. :^)"
      +lastActive: DateTime @1719679748 {#4486
        date: 2024-06-29 18:49:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4505 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4507 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4509 …}
      +entries: Doctrine\ORM\PersistentCollection {#4511 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4513 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4515 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4517 …}
      +posts: Doctrine\ORM\PersistentCollection {#4519 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4527 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4529 …}
      +follows: Doctrine\ORM\PersistentCollection {#4531 …}
      +followers: Doctrine\ORM\PersistentCollection {#4533 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4535 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4537 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4539 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4541 …}
      +reports: Doctrine\ORM\PersistentCollection {#4543 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
      +violations: Doctrine\ORM\PersistentCollection {#4547 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
      +awards: Doctrine\ORM\PersistentCollection {#4551 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4553 …}
      +categories: Doctrine\ORM\PersistentCollection {#4555 …}
      -id: 55594
      -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4557 …}
      +apId: "GustavoM@lemmy.world"
      +apProfileId: "https://lemmy.world/u/GustavoM"
      +apPublicUrl: "https://lemmy.world/u/GustavoM"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "GustavoM"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727835761 {#4487
        date: 2024-10-02 04:22:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696981499 {#4488
        date: 2023-10-11 01:44:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Use `PS1=“▌t▐nw→”` to display your local time each time you press enter. And make aliases of lengthy commands such as `alias internettest=“curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -”` (You need to install python to run this.)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699575764 {#4483
      date: 2023-11-10 01:22:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4490 …}
    +nested: Doctrine\ORM\PersistentCollection {#4492 …}
    +votes: Doctrine\ORM\PersistentCollection {#4494 …}
    +reports: Doctrine\ORM\PersistentCollection {#4496 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4498 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4500 …}
    -id: 106000
    -bodyTs: "'/sivel/speedtest-cli/master/speedtest.py':29 'alia':23 'alias':17 'command':20 'curl':25 'display':6 'enter':14 'instal':34 'internettest':24 'lengthi':19 'local':8 'make':16 'need':32 'nw':4 'press':13 'ps1':2 'python':30,35 'raw.githubusercontent.com':28 'raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py':27 'run':37 'time':9,11 'use':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5194136"
    +editedAt: DateTimeImmutable @1699652475 {#4484
      date: 2023-11-10 22:41:15.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699575764 {#4485
      date: 2023-11-10 01:22:44.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#9816
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4489
    +user: App\Entity\User {#4502
      +avatar: Proxies\__CG__\App\Entity\Image {#4503 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4504 …}
      +email: "GustavoM@lemmy.world"
      +username: "@GustavoM@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Definitely Not GustavoM. :^)"
      +lastActive: DateTime @1719679748 {#4486
        date: 2024-06-29 18:49:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4505 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4507 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4509 …}
      +entries: Doctrine\ORM\PersistentCollection {#4511 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4513 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4515 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4517 …}
      +posts: Doctrine\ORM\PersistentCollection {#4519 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4527 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4529 …}
      +follows: Doctrine\ORM\PersistentCollection {#4531 …}
      +followers: Doctrine\ORM\PersistentCollection {#4533 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4535 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4537 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4539 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4541 …}
      +reports: Doctrine\ORM\PersistentCollection {#4543 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
      +violations: Doctrine\ORM\PersistentCollection {#4547 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
      +awards: Doctrine\ORM\PersistentCollection {#4551 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4553 …}
      +categories: Doctrine\ORM\PersistentCollection {#4555 …}
      -id: 55594
      -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4557 …}
      +apId: "GustavoM@lemmy.world"
      +apProfileId: "https://lemmy.world/u/GustavoM"
      +apPublicUrl: "https://lemmy.world/u/GustavoM"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "GustavoM"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727835761 {#4487
        date: 2024-10-02 04:22:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696981499 {#4488
        date: 2023-10-11 01:44:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Use `PS1=“▌t▐nw→”` to display your local time each time you press enter. And make aliases of lengthy commands such as `alias internettest=“curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -”` (You need to install python to run this.)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699575764 {#4483
      date: 2023-11-10 01:22:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4490 …}
    +nested: Doctrine\ORM\PersistentCollection {#4492 …}
    +votes: Doctrine\ORM\PersistentCollection {#4494 …}
    +reports: Doctrine\ORM\PersistentCollection {#4496 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4498 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4500 …}
    -id: 106000
    -bodyTs: "'/sivel/speedtest-cli/master/speedtest.py':29 'alia':23 'alias':17 'command':20 'curl':25 'display':6 'enter':14 'instal':34 'internettest':24 'lengthi':19 'local':8 'make':16 'need':32 'nw':4 'press':13 'ps1':2 'python':30,35 'raw.githubusercontent.com':28 'raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py':27 'run':37 'time':9,11 'use':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5194136"
    +editedAt: DateTimeImmutable @1699652475 {#4484
      date: 2023-11-10 22:41:15.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699575764 {#4485
      date: 2023-11-10 01:22:44.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 4.92 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4489
    +user: App\Entity\User {#4502
      +avatar: Proxies\__CG__\App\Entity\Image {#4503 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4504 …}
      +email: "GustavoM@lemmy.world"
      +username: "@GustavoM@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Definitely Not GustavoM. :^)"
      +lastActive: DateTime @1719679748 {#4486
        date: 2024-06-29 18:49:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4505 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4507 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4509 …}
      +entries: Doctrine\ORM\PersistentCollection {#4511 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4513 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4515 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4517 …}
      +posts: Doctrine\ORM\PersistentCollection {#4519 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4527 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4529 …}
      +follows: Doctrine\ORM\PersistentCollection {#4531 …}
      +followers: Doctrine\ORM\PersistentCollection {#4533 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4535 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4537 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4539 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4541 …}
      +reports: Doctrine\ORM\PersistentCollection {#4543 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
      +violations: Doctrine\ORM\PersistentCollection {#4547 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
      +awards: Doctrine\ORM\PersistentCollection {#4551 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4553 …}
      +categories: Doctrine\ORM\PersistentCollection {#4555 …}
      -id: 55594
      -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4557 …}
      +apId: "GustavoM@lemmy.world"
      +apProfileId: "https://lemmy.world/u/GustavoM"
      +apPublicUrl: "https://lemmy.world/u/GustavoM"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "GustavoM"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727835761 {#4487
        date: 2024-10-02 04:22:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696981499 {#4488
        date: 2023-10-11 01:44:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Use `PS1=“▌t▐nw→”` to display your local time each time you press enter. And make aliases of lengthy commands such as `alias internettest=“curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -”` (You need to install python to run this.)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699575764 {#4483
      date: 2023-11-10 01:22:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4490 …}
    +nested: Doctrine\ORM\PersistentCollection {#4492 …}
    +votes: Doctrine\ORM\PersistentCollection {#4494 …}
    +reports: Doctrine\ORM\PersistentCollection {#4496 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4498 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4500 …}
    -id: 106000
    -bodyTs: "'/sivel/speedtest-cli/master/speedtest.py':29 'alia':23 'alias':17 'command':20 'curl':25 'display':6 'enter':14 'instal':34 'internettest':24 'lengthi':19 'local':8 'make':16 'need':32 'nw':4 'press':13 'ps1':2 'python':30,35 'raw.githubusercontent.com':28 'raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py':27 'run':37 'time':9,11 'use':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5194136"
    +editedAt: DateTimeImmutable @1699652475 {#4484
      date: 2023-11-10 22:41:15.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699575764 {#4485
      date: 2023-11-10 01:22:44.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#10056
  +comment: App\Entity\EntryComment {#4489
    +user: App\Entity\User {#4502
      +avatar: Proxies\__CG__\App\Entity\Image {#4503 …}
      +cover: Proxies\__CG__\App\Entity\Image {#4504 …}
      +email: "GustavoM@lemmy.world"
      +username: "@GustavoM@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: "Definitely Not GustavoM. :^)"
      +lastActive: DateTime @1719679748 {#4486
        date: 2024-06-29 18:49:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: false
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: true
      +notifyOnNewEntryCommentReply: true
      +notifyOnNewPost: false
      +notifyOnNewPostReply: true
      +notifyOnNewPostCommentReply: true
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4505 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4507 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4509 …}
      +entries: Doctrine\ORM\PersistentCollection {#4511 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4513 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4515 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4517 …}
      +posts: Doctrine\ORM\PersistentCollection {#4519 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4521 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4523 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4525 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4527 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4529 …}
      +follows: Doctrine\ORM\PersistentCollection {#4531 …}
      +followers: Doctrine\ORM\PersistentCollection {#4533 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4535 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4537 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4539 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4541 …}
      +reports: Doctrine\ORM\PersistentCollection {#4543 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4545 …}
      +violations: Doctrine\ORM\PersistentCollection {#4547 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4549 …}
      +awards: Doctrine\ORM\PersistentCollection {#4551 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4553 …}
      +categories: Doctrine\ORM\PersistentCollection {#4555 …}
      -id: 55594
      -password: "$2y$13$3rtBI4j23F.4f2HFNduFZ.ylG7FHwAbghmxkem/xJ.FpSGPS6xPYO"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4557 …}
      +apId: "GustavoM@lemmy.world"
      +apProfileId: "https://lemmy.world/u/GustavoM"
      +apPublicUrl: "https://lemmy.world/u/GustavoM"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "GustavoM"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727835761 {#4487
        date: 2024-10-02 04:22:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1696981499 {#4488
        date: 2023-10-11 01:44:59.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Use `PS1=“▌t▐nw→”` to display your local time each time you press enter. And make aliases of lengthy commands such as `alias internettest=“curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -”` (You need to install python to run this.)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699575764 {#4483
      date: 2023-11-10 01:22:44.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4490 …}
    +nested: Doctrine\ORM\PersistentCollection {#4492 …}
    +votes: Doctrine\ORM\PersistentCollection {#4494 …}
    +reports: Doctrine\ORM\PersistentCollection {#4496 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4498 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4500 …}
    -id: 106000
    -bodyTs: "'/sivel/speedtest-cli/master/speedtest.py':29 'alia':23 'alias':17 'command':20 'curl':25 'display':6 'enter':14 'instal':34 'internettest':24 'lengthi':19 'local':8 'make':16 'need':32 'nw':4 'press':13 'ps1':2 'python':30,35 'raw.githubusercontent.com':28 'raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py':27 'run':37 'time':9,11 'use':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5194136"
    +editedAt: DateTimeImmutable @1699652475 {#4484
      date: 2023-11-10 22:41:15.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699575764 {#4485
      date: 2023-11-10 01:22:44.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 44.55 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4564
    +user: App\Entity\User {#4577
      +avatar: Proxies\__CG__\App\Entity\Image {#4578 …}
      +cover: null
      +email: "agent_flounder@lemmy.world"
      +username: "@agent_flounder@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729416428 {#4561
        date: 2024-10-20 11:27:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4579 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4581 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4583 …}
      +entries: Doctrine\ORM\PersistentCollection {#4585 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4587 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4589 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4591 …}
      +posts: Doctrine\ORM\PersistentCollection {#4593 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4595 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4597 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4599 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4601 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4603 …}
      +follows: Doctrine\ORM\PersistentCollection {#4605 …}
      +followers: Doctrine\ORM\PersistentCollection {#4607 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4609 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4611 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4613 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4615 …}
      +reports: Doctrine\ORM\PersistentCollection {#4617 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4619 …}
      +violations: Doctrine\ORM\PersistentCollection {#4621 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4623 …}
      +awards: Doctrine\ORM\PersistentCollection {#4625 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4627 …}
      +categories: Doctrine\ORM\PersistentCollection {#4629 …}
      -id: 36905
      -password: "$2y$13$DhCvpz5sxdFzGCa5k1WKKOgszK/L/4EXQPNcTUrMhq49Z3keoadQW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4631 …}
      +apId: "agent_flounder@lemmy.world"
      +apProfileId: "https://lemmy.world/u/agent_flounder"
      +apPublicUrl: "https://lemmy.world/u/agent_flounder"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "agent_flounder"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729484218 {#4562
        date: 2024-10-21 06:16:58.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690598000 {#4563
        date: 2023-07-29 04:33:20.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I customized mine to show git branch when in a git project directory."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699573956 {#4559
      date: 2023-11-10 00:52:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4565 …}
    +nested: Doctrine\ORM\PersistentCollection {#4567 …}
    +votes: Doctrine\ORM\PersistentCollection {#4569 …}
    +reports: Doctrine\ORM\PersistentCollection {#4571 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4573 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4575 …}
    -id: 105908
    -bodyTs: "'branch':7 'custom':2 'directori':13 'git':6,11 'mine':3 'project':12 'show':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5193155"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699573956 {#4560
      date: 2023-11-10 00:52:36.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#10124
  +comment: App\Entity\EntryComment {#4564
    +user: App\Entity\User {#4577
      +avatar: Proxies\__CG__\App\Entity\Image {#4578 …}
      +cover: null
      +email: "agent_flounder@lemmy.world"
      +username: "@agent_flounder@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729416428 {#4561
        date: 2024-10-20 11:27:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4579 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4581 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4583 …}
      +entries: Doctrine\ORM\PersistentCollection {#4585 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4587 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4589 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4591 …}
      +posts: Doctrine\ORM\PersistentCollection {#4593 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4595 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4597 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4599 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4601 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4603 …}
      +follows: Doctrine\ORM\PersistentCollection {#4605 …}
      +followers: Doctrine\ORM\PersistentCollection {#4607 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4609 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4611 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4613 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4615 …}
      +reports: Doctrine\ORM\PersistentCollection {#4617 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4619 …}
      +violations: Doctrine\ORM\PersistentCollection {#4621 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4623 …}
      +awards: Doctrine\ORM\PersistentCollection {#4625 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4627 …}
      +categories: Doctrine\ORM\PersistentCollection {#4629 …}
      -id: 36905
      -password: "$2y$13$DhCvpz5sxdFzGCa5k1WKKOgszK/L/4EXQPNcTUrMhq49Z3keoadQW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4631 …}
      +apId: "agent_flounder@lemmy.world"
      +apProfileId: "https://lemmy.world/u/agent_flounder"
      +apPublicUrl: "https://lemmy.world/u/agent_flounder"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "agent_flounder"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729484218 {#4562
        date: 2024-10-21 06:16:58.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690598000 {#4563
        date: 2023-07-29 04:33:20.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I customized mine to show git branch when in a git project directory."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699573956 {#4559
      date: 2023-11-10 00:52:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4565 …}
    +nested: Doctrine\ORM\PersistentCollection {#4567 …}
    +votes: Doctrine\ORM\PersistentCollection {#4569 …}
    +reports: Doctrine\ORM\PersistentCollection {#4571 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4573 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4575 …}
    -id: 105908
    -bodyTs: "'branch':7 'custom':2 'directori':13 'git':6,11 'mine':3 'project':12 'show':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5193155"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699573956 {#4560
      date: 2023-11-10 00:52:36.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.18 ms
Input props
[
  "user" => App\Entity\User {#4577
    +avatar: Proxies\__CG__\App\Entity\Image {#4578 …}
    +cover: null
    +email: "agent_flounder@lemmy.world"
    +username: "@agent_flounder@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729416428 {#4561
      date: 2024-10-20 11:27:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4579 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4581 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4583 …}
    +entries: Doctrine\ORM\PersistentCollection {#4585 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4587 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4589 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4591 …}
    +posts: Doctrine\ORM\PersistentCollection {#4593 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4595 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4597 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4599 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4601 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4603 …}
    +follows: Doctrine\ORM\PersistentCollection {#4605 …}
    +followers: Doctrine\ORM\PersistentCollection {#4607 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4609 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4611 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4613 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4615 …}
    +reports: Doctrine\ORM\PersistentCollection {#4617 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4619 …}
    +violations: Doctrine\ORM\PersistentCollection {#4621 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4623 …}
    +awards: Doctrine\ORM\PersistentCollection {#4625 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4627 …}
    +categories: Doctrine\ORM\PersistentCollection {#4629 …}
    -id: 36905
    -password: "$2y$13$DhCvpz5sxdFzGCa5k1WKKOgszK/L/4EXQPNcTUrMhq49Z3keoadQW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4631 …}
    +apId: "agent_flounder@lemmy.world"
    +apProfileId: "https://lemmy.world/u/agent_flounder"
    +apPublicUrl: "https://lemmy.world/u/agent_flounder"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "agent_flounder"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729484218 {#4562
      date: 2024-10-21 06:16:58.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690598000 {#4563
      date: 2023-07-29 04:33:20.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#10169
  +user: App\Entity\User {#4577
    +avatar: Proxies\__CG__\App\Entity\Image {#4578 …}
    +cover: null
    +email: "agent_flounder@lemmy.world"
    +username: "@agent_flounder@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729416428 {#4561
      date: 2024-10-20 11:27:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4579 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4581 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4583 …}
    +entries: Doctrine\ORM\PersistentCollection {#4585 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4587 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4589 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4591 …}
    +posts: Doctrine\ORM\PersistentCollection {#4593 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4595 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4597 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4599 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4601 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4603 …}
    +follows: Doctrine\ORM\PersistentCollection {#4605 …}
    +followers: Doctrine\ORM\PersistentCollection {#4607 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4609 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4611 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4613 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4615 …}
    +reports: Doctrine\ORM\PersistentCollection {#4617 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4619 …}
    +violations: Doctrine\ORM\PersistentCollection {#4621 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4623 …}
    +awards: Doctrine\ORM\PersistentCollection {#4625 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4627 …}
    +categories: Doctrine\ORM\PersistentCollection {#4629 …}
    -id: 36905
    -password: "$2y$13$DhCvpz5sxdFzGCa5k1WKKOgszK/L/4EXQPNcTUrMhq49Z3keoadQW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4631 …}
    +apId: "agent_flounder@lemmy.world"
    +apProfileId: "https://lemmy.world/u/agent_flounder"
    +apPublicUrl: "https://lemmy.world/u/agent_flounder"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "agent_flounder"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729484218 {#4562
      date: 2024-10-21 06:16:58.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690598000 {#4563
      date: 2023-07-29 04:33:20.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.17 ms
Input props
[
  "date" => DateTimeImmutable @1699573956 {#4560
    date: 2023-11-10 00:52:36.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10224
  +date: DateTimeImmutable @1699573956 {#4560
    date: 2023-11-10 00:52:36.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.11 ms
Input props
[
  "createdAt" => DateTimeImmutable @1699573956 {#4560
    date: 2023-11-10 00:52:36.0 +01:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#10278
  +createdAt: DateTimeImmutable @1699573956 {#4560
    date: 2023-11-10 00:52:36.0 +01:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 14.31 ms
Input props
[
  "user" => App\Entity\User {#4577
    +avatar: Proxies\__CG__\App\Entity\Image {#4578 …}
    +cover: null
    +email: "agent_flounder@lemmy.world"
    +username: "@agent_flounder@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729416428 {#4561
      date: 2024-10-20 11:27:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4579 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4581 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4583 …}
    +entries: Doctrine\ORM\PersistentCollection {#4585 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4587 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4589 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4591 …}
    +posts: Doctrine\ORM\PersistentCollection {#4593 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4595 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4597 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4599 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4601 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4603 …}
    +follows: Doctrine\ORM\PersistentCollection {#4605 …}
    +followers: Doctrine\ORM\PersistentCollection {#4607 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4609 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4611 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4613 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4615 …}
    +reports: Doctrine\ORM\PersistentCollection {#4617 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4619 …}
    +violations: Doctrine\ORM\PersistentCollection {#4621 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4623 …}
    +awards: Doctrine\ORM\PersistentCollection {#4625 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4627 …}
    +categories: Doctrine\ORM\PersistentCollection {#4629 …}
    -id: 36905
    -password: "$2y$13$DhCvpz5sxdFzGCa5k1WKKOgszK/L/4EXQPNcTUrMhq49Z3keoadQW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4631 …}
    +apId: "agent_flounder@lemmy.world"
    +apProfileId: "https://lemmy.world/u/agent_flounder"
    +apPublicUrl: "https://lemmy.world/u/agent_flounder"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "agent_flounder"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729484218 {#4562
      date: 2024-10-21 06:16:58.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690598000 {#4563
      date: 2023-07-29 04:33:20.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#10332
  +width: 40
  +height: 40
  +user: App\Entity\User {#4577
    +avatar: Proxies\__CG__\App\Entity\Image {#4578 …}
    +cover: null
    +email: "agent_flounder@lemmy.world"
    +username: "@agent_flounder@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1729416428 {#4561
      date: 2024-10-20 11:27:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4579 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4581 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4583 …}
    +entries: Doctrine\ORM\PersistentCollection {#4585 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4587 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4589 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4591 …}
    +posts: Doctrine\ORM\PersistentCollection {#4593 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4595 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4597 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4599 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4601 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4603 …}
    +follows: Doctrine\ORM\PersistentCollection {#4605 …}
    +followers: Doctrine\ORM\PersistentCollection {#4607 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4609 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4611 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4613 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4615 …}
    +reports: Doctrine\ORM\PersistentCollection {#4617 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4619 …}
    +violations: Doctrine\ORM\PersistentCollection {#4621 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4623 …}
    +awards: Doctrine\ORM\PersistentCollection {#4625 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4627 …}
    +categories: Doctrine\ORM\PersistentCollection {#4629 …}
    -id: 36905
    -password: "$2y$13$DhCvpz5sxdFzGCa5k1WKKOgszK/L/4EXQPNcTUrMhq49Z3keoadQW"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4631 …}
    +apId: "agent_flounder@lemmy.world"
    +apProfileId: "https://lemmy.world/u/agent_flounder"
    +apPublicUrl: "https://lemmy.world/u/agent_flounder"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "agent_flounder"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729484218 {#4562
      date: 2024-10-21 06:16:58.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1690598000 {#4563
      date: 2023-07-29 04:33:20.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.44 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4564
    +user: App\Entity\User {#4577
      +avatar: Proxies\__CG__\App\Entity\Image {#4578 …}
      +cover: null
      +email: "agent_flounder@lemmy.world"
      +username: "@agent_flounder@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729416428 {#4561
        date: 2024-10-20 11:27:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4579 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4581 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4583 …}
      +entries: Doctrine\ORM\PersistentCollection {#4585 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4587 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4589 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4591 …}
      +posts: Doctrine\ORM\PersistentCollection {#4593 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4595 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4597 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4599 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4601 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4603 …}
      +follows: Doctrine\ORM\PersistentCollection {#4605 …}
      +followers: Doctrine\ORM\PersistentCollection {#4607 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4609 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4611 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4613 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4615 …}
      +reports: Doctrine\ORM\PersistentCollection {#4617 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4619 …}
      +violations: Doctrine\ORM\PersistentCollection {#4621 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4623 …}
      +awards: Doctrine\ORM\PersistentCollection {#4625 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4627 …}
      +categories: Doctrine\ORM\PersistentCollection {#4629 …}
      -id: 36905
      -password: "$2y$13$DhCvpz5sxdFzGCa5k1WKKOgszK/L/4EXQPNcTUrMhq49Z3keoadQW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4631 …}
      +apId: "agent_flounder@lemmy.world"
      +apProfileId: "https://lemmy.world/u/agent_flounder"
      +apPublicUrl: "https://lemmy.world/u/agent_flounder"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "agent_flounder"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729484218 {#4562
        date: 2024-10-21 06:16:58.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690598000 {#4563
        date: 2023-07-29 04:33:20.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I customized mine to show git branch when in a git project directory."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699573956 {#4559
      date: 2023-11-10 00:52:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4565 …}
    +nested: Doctrine\ORM\PersistentCollection {#4567 …}
    +votes: Doctrine\ORM\PersistentCollection {#4569 …}
    +reports: Doctrine\ORM\PersistentCollection {#4571 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4573 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4575 …}
    -id: 105908
    -bodyTs: "'branch':7 'custom':2 'directori':13 'git':6,11 'mine':3 'project':12 'show':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5193155"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699573956 {#4560
      date: 2023-11-10 00:52:36.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#10403
  +subject: App\Entity\EntryComment {#4564
    +user: App\Entity\User {#4577
      +avatar: Proxies\__CG__\App\Entity\Image {#4578 …}
      +cover: null
      +email: "agent_flounder@lemmy.world"
      +username: "@agent_flounder@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729416428 {#4561
        date: 2024-10-20 11:27:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4579 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4581 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4583 …}
      +entries: Doctrine\ORM\PersistentCollection {#4585 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4587 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4589 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4591 …}
      +posts: Doctrine\ORM\PersistentCollection {#4593 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4595 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4597 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4599 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4601 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4603 …}
      +follows: Doctrine\ORM\PersistentCollection {#4605 …}
      +followers: Doctrine\ORM\PersistentCollection {#4607 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4609 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4611 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4613 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4615 …}
      +reports: Doctrine\ORM\PersistentCollection {#4617 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4619 …}
      +violations: Doctrine\ORM\PersistentCollection {#4621 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4623 …}
      +awards: Doctrine\ORM\PersistentCollection {#4625 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4627 …}
      +categories: Doctrine\ORM\PersistentCollection {#4629 …}
      -id: 36905
      -password: "$2y$13$DhCvpz5sxdFzGCa5k1WKKOgszK/L/4EXQPNcTUrMhq49Z3keoadQW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4631 …}
      +apId: "agent_flounder@lemmy.world"
      +apProfileId: "https://lemmy.world/u/agent_flounder"
      +apPublicUrl: "https://lemmy.world/u/agent_flounder"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "agent_flounder"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729484218 {#4562
        date: 2024-10-21 06:16:58.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690598000 {#4563
        date: 2023-07-29 04:33:20.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I customized mine to show git branch when in a git project directory."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699573956 {#4559
      date: 2023-11-10 00:52:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4565 …}
    +nested: Doctrine\ORM\PersistentCollection {#4567 …}
    +votes: Doctrine\ORM\PersistentCollection {#4569 …}
    +reports: Doctrine\ORM\PersistentCollection {#4571 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4573 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4575 …}
    -id: 105908
    -bodyTs: "'branch':7 'custom':2 'directori':13 'git':6,11 'mine':3 'project':12 'show':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5193155"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699573956 {#4560
      date: 2023-11-10 00:52:36.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 7.00 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4564
    +user: App\Entity\User {#4577
      +avatar: Proxies\__CG__\App\Entity\Image {#4578 …}
      +cover: null
      +email: "agent_flounder@lemmy.world"
      +username: "@agent_flounder@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729416428 {#4561
        date: 2024-10-20 11:27:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4579 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4581 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4583 …}
      +entries: Doctrine\ORM\PersistentCollection {#4585 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4587 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4589 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4591 …}
      +posts: Doctrine\ORM\PersistentCollection {#4593 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4595 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4597 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4599 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4601 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4603 …}
      +follows: Doctrine\ORM\PersistentCollection {#4605 …}
      +followers: Doctrine\ORM\PersistentCollection {#4607 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4609 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4611 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4613 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4615 …}
      +reports: Doctrine\ORM\PersistentCollection {#4617 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4619 …}
      +violations: Doctrine\ORM\PersistentCollection {#4621 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4623 …}
      +awards: Doctrine\ORM\PersistentCollection {#4625 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4627 …}
      +categories: Doctrine\ORM\PersistentCollection {#4629 …}
      -id: 36905
      -password: "$2y$13$DhCvpz5sxdFzGCa5k1WKKOgszK/L/4EXQPNcTUrMhq49Z3keoadQW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4631 …}
      +apId: "agent_flounder@lemmy.world"
      +apProfileId: "https://lemmy.world/u/agent_flounder"
      +apPublicUrl: "https://lemmy.world/u/agent_flounder"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "agent_flounder"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729484218 {#4562
        date: 2024-10-21 06:16:58.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690598000 {#4563
        date: 2023-07-29 04:33:20.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I customized mine to show git branch when in a git project directory."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699573956 {#4559
      date: 2023-11-10 00:52:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4565 …}
    +nested: Doctrine\ORM\PersistentCollection {#4567 …}
    +votes: Doctrine\ORM\PersistentCollection {#4569 …}
    +reports: Doctrine\ORM\PersistentCollection {#4571 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4573 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4575 …}
    -id: 105908
    -bodyTs: "'branch':7 'custom':2 'directori':13 'git':6,11 'mine':3 'project':12 'show':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5193155"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699573956 {#4560
      date: 2023-11-10 00:52:36.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#10460
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4564
    +user: App\Entity\User {#4577
      +avatar: Proxies\__CG__\App\Entity\Image {#4578 …}
      +cover: null
      +email: "agent_flounder@lemmy.world"
      +username: "@agent_flounder@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729416428 {#4561
        date: 2024-10-20 11:27:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4579 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4581 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4583 …}
      +entries: Doctrine\ORM\PersistentCollection {#4585 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4587 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4589 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4591 …}
      +posts: Doctrine\ORM\PersistentCollection {#4593 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4595 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4597 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4599 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4601 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4603 …}
      +follows: Doctrine\ORM\PersistentCollection {#4605 …}
      +followers: Doctrine\ORM\PersistentCollection {#4607 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4609 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4611 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4613 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4615 …}
      +reports: Doctrine\ORM\PersistentCollection {#4617 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4619 …}
      +violations: Doctrine\ORM\PersistentCollection {#4621 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4623 …}
      +awards: Doctrine\ORM\PersistentCollection {#4625 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4627 …}
      +categories: Doctrine\ORM\PersistentCollection {#4629 …}
      -id: 36905
      -password: "$2y$13$DhCvpz5sxdFzGCa5k1WKKOgszK/L/4EXQPNcTUrMhq49Z3keoadQW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4631 …}
      +apId: "agent_flounder@lemmy.world"
      +apProfileId: "https://lemmy.world/u/agent_flounder"
      +apPublicUrl: "https://lemmy.world/u/agent_flounder"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "agent_flounder"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729484218 {#4562
        date: 2024-10-21 06:16:58.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690598000 {#4563
        date: 2023-07-29 04:33:20.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I customized mine to show git branch when in a git project directory."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699573956 {#4559
      date: 2023-11-10 00:52:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4565 …}
    +nested: Doctrine\ORM\PersistentCollection {#4567 …}
    +votes: Doctrine\ORM\PersistentCollection {#4569 …}
    +reports: Doctrine\ORM\PersistentCollection {#4571 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4573 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4575 …}
    -id: 105908
    -bodyTs: "'branch':7 'custom':2 'directori':13 'git':6,11 'mine':3 'project':12 'show':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5193155"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699573956 {#4560
      date: 2023-11-10 00:52:36.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 0.40 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4564
    +user: App\Entity\User {#4577
      +avatar: Proxies\__CG__\App\Entity\Image {#4578 …}
      +cover: null
      +email: "agent_flounder@lemmy.world"
      +username: "@agent_flounder@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729416428 {#4561
        date: 2024-10-20 11:27:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4579 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4581 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4583 …}
      +entries: Doctrine\ORM\PersistentCollection {#4585 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4587 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4589 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4591 …}
      +posts: Doctrine\ORM\PersistentCollection {#4593 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4595 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4597 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4599 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4601 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4603 …}
      +follows: Doctrine\ORM\PersistentCollection {#4605 …}
      +followers: Doctrine\ORM\PersistentCollection {#4607 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4609 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4611 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4613 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4615 …}
      +reports: Doctrine\ORM\PersistentCollection {#4617 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4619 …}
      +violations: Doctrine\ORM\PersistentCollection {#4621 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4623 …}
      +awards: Doctrine\ORM\PersistentCollection {#4625 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4627 …}
      +categories: Doctrine\ORM\PersistentCollection {#4629 …}
      -id: 36905
      -password: "$2y$13$DhCvpz5sxdFzGCa5k1WKKOgszK/L/4EXQPNcTUrMhq49Z3keoadQW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4631 …}
      +apId: "agent_flounder@lemmy.world"
      +apProfileId: "https://lemmy.world/u/agent_flounder"
      +apPublicUrl: "https://lemmy.world/u/agent_flounder"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "agent_flounder"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729484218 {#4562
        date: 2024-10-21 06:16:58.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690598000 {#4563
        date: 2023-07-29 04:33:20.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I customized mine to show git branch when in a git project directory."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699573956 {#4559
      date: 2023-11-10 00:52:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4565 …}
    +nested: Doctrine\ORM\PersistentCollection {#4567 …}
    +votes: Doctrine\ORM\PersistentCollection {#4569 …}
    +reports: Doctrine\ORM\PersistentCollection {#4571 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4573 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4575 …}
    -id: 105908
    -bodyTs: "'branch':7 'custom':2 'directori':13 'git':6,11 'mine':3 'project':12 'show':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5193155"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699573956 {#4560
      date: 2023-11-10 00:52:36.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#10700
  +comment: App\Entity\EntryComment {#4564
    +user: App\Entity\User {#4577
      +avatar: Proxies\__CG__\App\Entity\Image {#4578 …}
      +cover: null
      +email: "agent_flounder@lemmy.world"
      +username: "@agent_flounder@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1729416428 {#4561
        date: 2024-10-20 11:27:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4579 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4581 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4583 …}
      +entries: Doctrine\ORM\PersistentCollection {#4585 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4587 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4589 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4591 …}
      +posts: Doctrine\ORM\PersistentCollection {#4593 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4595 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4597 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4599 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4601 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4603 …}
      +follows: Doctrine\ORM\PersistentCollection {#4605 …}
      +followers: Doctrine\ORM\PersistentCollection {#4607 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4609 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4611 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4613 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4615 …}
      +reports: Doctrine\ORM\PersistentCollection {#4617 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4619 …}
      +violations: Doctrine\ORM\PersistentCollection {#4621 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4623 …}
      +awards: Doctrine\ORM\PersistentCollection {#4625 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4627 …}
      +categories: Doctrine\ORM\PersistentCollection {#4629 …}
      -id: 36905
      -password: "$2y$13$DhCvpz5sxdFzGCa5k1WKKOgszK/L/4EXQPNcTUrMhq49Z3keoadQW"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4631 …}
      +apId: "agent_flounder@lemmy.world"
      +apProfileId: "https://lemmy.world/u/agent_flounder"
      +apPublicUrl: "https://lemmy.world/u/agent_flounder"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "agent_flounder"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1729484218 {#4562
        date: 2024-10-21 06:16:58.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1690598000 {#4563
        date: 2023-07-29 04:33:20.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "I customized mine to show git branch when in a git project directory."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1699573956 {#4559
      date: 2023-11-10 00:52:36.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4565 …}
    +nested: Doctrine\ORM\PersistentCollection {#4567 …}
    +votes: Doctrine\ORM\PersistentCollection {#4569 …}
    +reports: Doctrine\ORM\PersistentCollection {#4571 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4573 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4575 …}
    -id: 105908
    -bodyTs: "'branch':7 'custom':2 'directori':13 'git':6,11 'mine':3 'project':12 'show':5"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/5193155"
    +editedAt: null
    +createdAt: DateTimeImmutable @1699573956 {#4560
      date: 2023-11-10 00:52:36.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 14.0 MiB 63.99 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4639
    +user: App\Entity\User {#4652
      +avatar: null
      +cover: null
      +email: "ProtonBadger@kbin.social"
      +username: "@ProtonBadger@kbin.social"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1707586194 {#4636
        date: 2024-02-10 18:29:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4653 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4655 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4657 …}
      +entries: Doctrine\ORM\PersistentCollection {#4659 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4661 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4663 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4665 …}
      +posts: Doctrine\ORM\PersistentCollection {#4667 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4669 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4671 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4675 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4677 …}
      +follows: Doctrine\ORM\PersistentCollection {#4679 …}
      +followers: Doctrine\ORM\PersistentCollection {#4681 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4683 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4685 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4687 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +reports: Doctrine\ORM\PersistentCollection {#4691 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4693 …}
      +violations: Doctrine\ORM\PersistentCollection {#4695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4697 …}
      +awards: Doctrine\ORM\PersistentCollection {#4699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4701 …}
      +categories: Doctrine\ORM\PersistentCollection {#4703 …}
      -id: 4360
      -password: "$2y$13$vqkIHVzyMYsZBIik3bABl.XSdKlgw5nNfFOBTVDdII1UFLlkBYJH2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4705 …}
      +apId: "ProtonBadger@kbin.social"
      +apProfileId: "https://kbin.social/u/ProtonBadger"
      +apPublicUrl: "https://kbin.social/u/ProtonBadger"
      +apFollowersUrl: "https://kbin.social/u/ProtonBadger/followers"
      +apInboxUrl: "https://kbin.social/f/inbox"
      +apDomain: "kbin.social"
      +apPreferredUsername: "ProtonBadger"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705254353 {#4637
        date: 2024-01-14 18:45:53.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687123947 {#4638
        date: 2023-06-18 23:32:27.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Most prompt customizers have an option for showing how long last command ran and whether it succeeded/failed or simply prompt timestamp, it's often default. I use Tide, there's also Starship and a number of others. You can also roll your own ofcourse."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699565790 {#4633
      date: 2023-11-09 22:36:30.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4640 …}
    +nested: Doctrine\ORM\PersistentCollection {#4642 …}
    +votes: Doctrine\ORM\PersistentCollection {#4644 …}
    +reports: Doctrine\ORM\PersistentCollection {#4646 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4648 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4650 …}
    -id: 105534
    -bodyTs: "'also':31,40 'command':12 'custom':3 'default':25 'last':11 'long':10 'number':35 'ofcours':44 'often':24 'option':6 'other':37 'prompt':2,20 'ran':13 'roll':41 'show':8 'simpli':19 'starship':32 'succeeded/failed':17 'tide':28 'timestamp':21 'use':27 'whether':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/612744/-/comment/3465102"
    +editedAt: DateTimeImmutable @1699641449 {#4634
      date: 2023-11-10 19:37:29.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699565790 {#4635
      date: 2023-11-09 22:36:30.0 +01:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#10768
  +comment: App\Entity\EntryComment {#4639
    +user: App\Entity\User {#4652
      +avatar: null
      +cover: null
      +email: "ProtonBadger@kbin.social"
      +username: "@ProtonBadger@kbin.social"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1707586194 {#4636
        date: 2024-02-10 18:29:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4653 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4655 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4657 …}
      +entries: Doctrine\ORM\PersistentCollection {#4659 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4661 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4663 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4665 …}
      +posts: Doctrine\ORM\PersistentCollection {#4667 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4669 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4671 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4675 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4677 …}
      +follows: Doctrine\ORM\PersistentCollection {#4679 …}
      +followers: Doctrine\ORM\PersistentCollection {#4681 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4683 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4685 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4687 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +reports: Doctrine\ORM\PersistentCollection {#4691 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4693 …}
      +violations: Doctrine\ORM\PersistentCollection {#4695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4697 …}
      +awards: Doctrine\ORM\PersistentCollection {#4699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4701 …}
      +categories: Doctrine\ORM\PersistentCollection {#4703 …}
      -id: 4360
      -password: "$2y$13$vqkIHVzyMYsZBIik3bABl.XSdKlgw5nNfFOBTVDdII1UFLlkBYJH2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4705 …}
      +apId: "ProtonBadger@kbin.social"
      +apProfileId: "https://kbin.social/u/ProtonBadger"
      +apPublicUrl: "https://kbin.social/u/ProtonBadger"
      +apFollowersUrl: "https://kbin.social/u/ProtonBadger/followers"
      +apInboxUrl: "https://kbin.social/f/inbox"
      +apDomain: "kbin.social"
      +apPreferredUsername: "ProtonBadger"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705254353 {#4637
        date: 2024-01-14 18:45:53.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687123947 {#4638
        date: 2023-06-18 23:32:27.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Most prompt customizers have an option for showing how long last command ran and whether it succeeded/failed or simply prompt timestamp, it's often default. I use Tide, there's also Starship and a number of others. You can also roll your own ofcourse."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699565790 {#4633
      date: 2023-11-09 22:36:30.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4640 …}
    +nested: Doctrine\ORM\PersistentCollection {#4642 …}
    +votes: Doctrine\ORM\PersistentCollection {#4644 …}
    +reports: Doctrine\ORM\PersistentCollection {#4646 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4648 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4650 …}
    -id: 105534
    -bodyTs: "'also':31,40 'command':12 'custom':3 'default':25 'last':11 'long':10 'number':35 'ofcours':44 'often':24 'option':6 'other':37 'prompt':2,20 'ran':13 'roll':41 'show':8 'simpli':19 'starship':32 'succeeded/failed':17 'tide':28 'timestamp':21 'use':27 'whether':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/612744/-/comment/3465102"
    +editedAt: DateTimeImmutable @1699641449 {#4634
      date: 2023-11-10 19:37:29.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699565790 {#4635
      date: 2023-11-09 22:36:30.0 +01:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 0.17 ms
Input props
[
  "user" => App\Entity\User {#4652
    +avatar: null
    +cover: null
    +email: "ProtonBadger@kbin.social"
    +username: "@ProtonBadger@kbin.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1707586194 {#4636
      date: 2024-02-10 18:29:54.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4653 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4655 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4657 …}
    +entries: Doctrine\ORM\PersistentCollection {#4659 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4661 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4663 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4665 …}
    +posts: Doctrine\ORM\PersistentCollection {#4667 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4669 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4671 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4673 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4675 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4677 …}
    +follows: Doctrine\ORM\PersistentCollection {#4679 …}
    +followers: Doctrine\ORM\PersistentCollection {#4681 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4683 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4685 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4687 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
    +reports: Doctrine\ORM\PersistentCollection {#4691 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4693 …}
    +violations: Doctrine\ORM\PersistentCollection {#4695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4697 …}
    +awards: Doctrine\ORM\PersistentCollection {#4699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4701 …}
    +categories: Doctrine\ORM\PersistentCollection {#4703 …}
    -id: 4360
    -password: "$2y$13$vqkIHVzyMYsZBIik3bABl.XSdKlgw5nNfFOBTVDdII1UFLlkBYJH2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4705 …}
    +apId: "ProtonBadger@kbin.social"
    +apProfileId: "https://kbin.social/u/ProtonBadger"
    +apPublicUrl: "https://kbin.social/u/ProtonBadger"
    +apFollowersUrl: "https://kbin.social/u/ProtonBadger/followers"
    +apInboxUrl: "https://kbin.social/f/inbox"
    +apDomain: "kbin.social"
    +apPreferredUsername: "ProtonBadger"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1705254353 {#4637
      date: 2024-01-14 18:45:53.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687123947 {#4638
      date: 2023-06-18 23:32:27.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#10813
  +user: App\Entity\User {#4652
    +avatar: null
    +cover: null
    +email: "ProtonBadger@kbin.social"
    +username: "@ProtonBadger@kbin.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1707586194 {#4636
      date: 2024-02-10 18:29:54.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4653 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4655 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4657 …}
    +entries: Doctrine\ORM\PersistentCollection {#4659 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4661 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4663 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4665 …}
    +posts: Doctrine\ORM\PersistentCollection {#4667 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4669 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4671 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4673 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4675 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4677 …}
    +follows: Doctrine\ORM\PersistentCollection {#4679 …}
    +followers: Doctrine\ORM\PersistentCollection {#4681 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4683 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4685 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4687 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
    +reports: Doctrine\ORM\PersistentCollection {#4691 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4693 …}
    +violations: Doctrine\ORM\PersistentCollection {#4695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4697 …}
    +awards: Doctrine\ORM\PersistentCollection {#4699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4701 …}
    +categories: Doctrine\ORM\PersistentCollection {#4703 …}
    -id: 4360
    -password: "$2y$13$vqkIHVzyMYsZBIik3bABl.XSdKlgw5nNfFOBTVDdII1UFLlkBYJH2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4705 …}
    +apId: "ProtonBadger@kbin.social"
    +apProfileId: "https://kbin.social/u/ProtonBadger"
    +apPublicUrl: "https://kbin.social/u/ProtonBadger"
    +apFollowersUrl: "https://kbin.social/u/ProtonBadger/followers"
    +apInboxUrl: "https://kbin.social/f/inbox"
    +apDomain: "kbin.social"
    +apPreferredUsername: "ProtonBadger"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1705254353 {#4637
      date: 2024-01-14 18:45:53.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687123947 {#4638
      date: 2023-06-18 23:32:27.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 14.0 MiB 0.15 ms
Input props
[
  "date" => DateTimeImmutable @1699565790 {#4635
    date: 2023-11-09 22:36:30.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10868
  +date: DateTimeImmutable @1699565790 {#4635
    date: 2023-11-09 22:36:30.0 +01:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 14.0 MiB 0.15 ms
Input props
[
  "createdAt" => DateTimeImmutable @1699565790 {#4635
    date: 2023-11-09 22:36:30.0 +01:00
  }
  "editedAt" => DateTimeImmutable @1699641449 {#4634
    date: 2023-11-10 19:37:29.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#10922
  +createdAt: DateTimeImmutable @1699565790 {#4635
    date: 2023-11-09 22:36:30.0 +01:00
  }
  +editedAt: DateTimeImmutable @1699641449 {#4634
    date: 2023-11-10 19:37:29.0 +01:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 14.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4652
    +avatar: null
    +cover: null
    +email: "ProtonBadger@kbin.social"
    +username: "@ProtonBadger@kbin.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1707586194 {#4636
      date: 2024-02-10 18:29:54.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4653 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4655 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4657 …}
    +entries: Doctrine\ORM\PersistentCollection {#4659 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4661 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4663 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4665 …}
    +posts: Doctrine\ORM\PersistentCollection {#4667 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4669 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4671 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4673 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4675 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4677 …}
    +follows: Doctrine\ORM\PersistentCollection {#4679 …}
    +followers: Doctrine\ORM\PersistentCollection {#4681 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4683 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4685 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4687 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
    +reports: Doctrine\ORM\PersistentCollection {#4691 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4693 …}
    +violations: Doctrine\ORM\PersistentCollection {#4695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4697 …}
    +awards: Doctrine\ORM\PersistentCollection {#4699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4701 …}
    +categories: Doctrine\ORM\PersistentCollection {#4703 …}
    -id: 4360
    -password: "$2y$13$vqkIHVzyMYsZBIik3bABl.XSdKlgw5nNfFOBTVDdII1UFLlkBYJH2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4705 …}
    +apId: "ProtonBadger@kbin.social"
    +apProfileId: "https://kbin.social/u/ProtonBadger"
    +apPublicUrl: "https://kbin.social/u/ProtonBadger"
    +apFollowersUrl: "https://kbin.social/u/ProtonBadger/followers"
    +apInboxUrl: "https://kbin.social/f/inbox"
    +apDomain: "kbin.social"
    +apPreferredUsername: "ProtonBadger"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1705254353 {#4637
      date: 2024-01-14 18:45:53.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687123947 {#4638
      date: 2023-06-18 23:32:27.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#10976
  +width: 40
  +height: 40
  +user: App\Entity\User {#4652
    +avatar: null
    +cover: null
    +email: "ProtonBadger@kbin.social"
    +username: "@ProtonBadger@kbin.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1707586194 {#4636
      date: 2024-02-10 18:29:54.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4653 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4655 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4657 …}
    +entries: Doctrine\ORM\PersistentCollection {#4659 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4661 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4663 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4665 …}
    +posts: Doctrine\ORM\PersistentCollection {#4667 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4669 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4671 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4673 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4675 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4677 …}
    +follows: Doctrine\ORM\PersistentCollection {#4679 …}
    +followers: Doctrine\ORM\PersistentCollection {#4681 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4683 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4685 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4687 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
    +reports: Doctrine\ORM\PersistentCollection {#4691 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4693 …}
    +violations: Doctrine\ORM\PersistentCollection {#4695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4697 …}
    +awards: Doctrine\ORM\PersistentCollection {#4699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4701 …}
    +categories: Doctrine\ORM\PersistentCollection {#4703 …}
    -id: 4360
    -password: "$2y$13$vqkIHVzyMYsZBIik3bABl.XSdKlgw5nNfFOBTVDdII1UFLlkBYJH2"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4705 …}
    +apId: "ProtonBadger@kbin.social"
    +apProfileId: "https://kbin.social/u/ProtonBadger"
    +apPublicUrl: "https://kbin.social/u/ProtonBadger"
    +apFollowersUrl: "https://kbin.social/u/ProtonBadger/followers"
    +apInboxUrl: "https://kbin.social/f/inbox"
    +apDomain: "kbin.social"
    +apPreferredUsername: "ProtonBadger"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1705254353 {#4637
      date: 2024-01-14 18:45:53.0 +01:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687123947 {#4638
      date: 2023-06-18 23:32:27.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 14.0 MiB 0.48 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4639
    +user: App\Entity\User {#4652
      +avatar: null
      +cover: null
      +email: "ProtonBadger@kbin.social"
      +username: "@ProtonBadger@kbin.social"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1707586194 {#4636
        date: 2024-02-10 18:29:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4653 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4655 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4657 …}
      +entries: Doctrine\ORM\PersistentCollection {#4659 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4661 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4663 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4665 …}
      +posts: Doctrine\ORM\PersistentCollection {#4667 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4669 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4671 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4675 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4677 …}
      +follows: Doctrine\ORM\PersistentCollection {#4679 …}
      +followers: Doctrine\ORM\PersistentCollection {#4681 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4683 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4685 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4687 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +reports: Doctrine\ORM\PersistentCollection {#4691 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4693 …}
      +violations: Doctrine\ORM\PersistentCollection {#4695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4697 …}
      +awards: Doctrine\ORM\PersistentCollection {#4699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4701 …}
      +categories: Doctrine\ORM\PersistentCollection {#4703 …}
      -id: 4360
      -password: "$2y$13$vqkIHVzyMYsZBIik3bABl.XSdKlgw5nNfFOBTVDdII1UFLlkBYJH2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4705 …}
      +apId: "ProtonBadger@kbin.social"
      +apProfileId: "https://kbin.social/u/ProtonBadger"
      +apPublicUrl: "https://kbin.social/u/ProtonBadger"
      +apFollowersUrl: "https://kbin.social/u/ProtonBadger/followers"
      +apInboxUrl: "https://kbin.social/f/inbox"
      +apDomain: "kbin.social"
      +apPreferredUsername: "ProtonBadger"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705254353 {#4637
        date: 2024-01-14 18:45:53.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687123947 {#4638
        date: 2023-06-18 23:32:27.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Most prompt customizers have an option for showing how long last command ran and whether it succeeded/failed or simply prompt timestamp, it's often default. I use Tide, there's also Starship and a number of others. You can also roll your own ofcourse."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699565790 {#4633
      date: 2023-11-09 22:36:30.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4640 …}
    +nested: Doctrine\ORM\PersistentCollection {#4642 …}
    +votes: Doctrine\ORM\PersistentCollection {#4644 …}
    +reports: Doctrine\ORM\PersistentCollection {#4646 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4648 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4650 …}
    -id: 105534
    -bodyTs: "'also':31,40 'command':12 'custom':3 'default':25 'last':11 'long':10 'number':35 'ofcours':44 'often':24 'option':6 'other':37 'prompt':2,20 'ran':13 'roll':41 'show':8 'simpli':19 'starship':32 'succeeded/failed':17 'tide':28 'timestamp':21 'use':27 'whether':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/612744/-/comment/3465102"
    +editedAt: DateTimeImmutable @1699641449 {#4634
      date: 2023-11-10 19:37:29.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699565790 {#4635
      date: 2023-11-09 22:36:30.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#11045
  +subject: App\Entity\EntryComment {#4639
    +user: App\Entity\User {#4652
      +avatar: null
      +cover: null
      +email: "ProtonBadger@kbin.social"
      +username: "@ProtonBadger@kbin.social"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1707586194 {#4636
        date: 2024-02-10 18:29:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4653 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4655 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4657 …}
      +entries: Doctrine\ORM\PersistentCollection {#4659 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4661 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4663 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4665 …}
      +posts: Doctrine\ORM\PersistentCollection {#4667 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4669 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4671 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4675 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4677 …}
      +follows: Doctrine\ORM\PersistentCollection {#4679 …}
      +followers: Doctrine\ORM\PersistentCollection {#4681 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4683 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4685 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4687 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +reports: Doctrine\ORM\PersistentCollection {#4691 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4693 …}
      +violations: Doctrine\ORM\PersistentCollection {#4695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4697 …}
      +awards: Doctrine\ORM\PersistentCollection {#4699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4701 …}
      +categories: Doctrine\ORM\PersistentCollection {#4703 …}
      -id: 4360
      -password: "$2y$13$vqkIHVzyMYsZBIik3bABl.XSdKlgw5nNfFOBTVDdII1UFLlkBYJH2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4705 …}
      +apId: "ProtonBadger@kbin.social"
      +apProfileId: "https://kbin.social/u/ProtonBadger"
      +apPublicUrl: "https://kbin.social/u/ProtonBadger"
      +apFollowersUrl: "https://kbin.social/u/ProtonBadger/followers"
      +apInboxUrl: "https://kbin.social/f/inbox"
      +apDomain: "kbin.social"
      +apPreferredUsername: "ProtonBadger"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705254353 {#4637
        date: 2024-01-14 18:45:53.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687123947 {#4638
        date: 2023-06-18 23:32:27.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Most prompt customizers have an option for showing how long last command ran and whether it succeeded/failed or simply prompt timestamp, it's often default. I use Tide, there's also Starship and a number of others. You can also roll your own ofcourse."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699565790 {#4633
      date: 2023-11-09 22:36:30.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4640 …}
    +nested: Doctrine\ORM\PersistentCollection {#4642 …}
    +votes: Doctrine\ORM\PersistentCollection {#4644 …}
    +reports: Doctrine\ORM\PersistentCollection {#4646 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4648 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4650 …}
    -id: 105534
    -bodyTs: "'also':31,40 'command':12 'custom':3 'default':25 'last':11 'long':10 'number':35 'ofcours':44 'often':24 'option':6 'other':37 'prompt':2,20 'ran':13 'roll':41 'show':8 'simpli':19 'starship':32 'succeeded/failed':17 'tide':28 'timestamp':21 'use':27 'whether':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/612744/-/comment/3465102"
    +editedAt: DateTimeImmutable @1699641449 {#4634
      date: 2023-11-10 19:37:29.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699565790 {#4635
      date: 2023-11-09 22:36:30.0 +01:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 14.0 MiB 0.79 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4639
    +user: App\Entity\User {#4652
      +avatar: null
      +cover: null
      +email: "ProtonBadger@kbin.social"
      +username: "@ProtonBadger@kbin.social"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1707586194 {#4636
        date: 2024-02-10 18:29:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4653 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4655 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4657 …}
      +entries: Doctrine\ORM\PersistentCollection {#4659 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4661 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4663 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4665 …}
      +posts: Doctrine\ORM\PersistentCollection {#4667 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4669 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4671 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4675 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4677 …}
      +follows: Doctrine\ORM\PersistentCollection {#4679 …}
      +followers: Doctrine\ORM\PersistentCollection {#4681 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4683 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4685 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4687 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +reports: Doctrine\ORM\PersistentCollection {#4691 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4693 …}
      +violations: Doctrine\ORM\PersistentCollection {#4695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4697 …}
      +awards: Doctrine\ORM\PersistentCollection {#4699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4701 …}
      +categories: Doctrine\ORM\PersistentCollection {#4703 …}
      -id: 4360
      -password: "$2y$13$vqkIHVzyMYsZBIik3bABl.XSdKlgw5nNfFOBTVDdII1UFLlkBYJH2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4705 …}
      +apId: "ProtonBadger@kbin.social"
      +apProfileId: "https://kbin.social/u/ProtonBadger"
      +apPublicUrl: "https://kbin.social/u/ProtonBadger"
      +apFollowersUrl: "https://kbin.social/u/ProtonBadger/followers"
      +apInboxUrl: "https://kbin.social/f/inbox"
      +apDomain: "kbin.social"
      +apPreferredUsername: "ProtonBadger"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705254353 {#4637
        date: 2024-01-14 18:45:53.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687123947 {#4638
        date: 2023-06-18 23:32:27.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Most prompt customizers have an option for showing how long last command ran and whether it succeeded/failed or simply prompt timestamp, it's often default. I use Tide, there's also Starship and a number of others. You can also roll your own ofcourse."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699565790 {#4633
      date: 2023-11-09 22:36:30.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4640 …}
    +nested: Doctrine\ORM\PersistentCollection {#4642 …}
    +votes: Doctrine\ORM\PersistentCollection {#4644 …}
    +reports: Doctrine\ORM\PersistentCollection {#4646 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4648 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4650 …}
    -id: 105534
    -bodyTs: "'also':31,40 'command':12 'custom':3 'default':25 'last':11 'long':10 'number':35 'ofcours':44 'often':24 'option':6 'other':37 'prompt':2,20 'ran':13 'roll':41 'show':8 'simpli':19 'starship':32 'succeeded/failed':17 'tide':28 'timestamp':21 'use':27 'whether':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/612744/-/comment/3465102"
    +editedAt: DateTimeImmutable @1699641449 {#4634
      date: 2023-11-10 19:37:29.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699565790 {#4635
      date: 2023-11-09 22:36:30.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#11102
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4639
    +user: App\Entity\User {#4652
      +avatar: null
      +cover: null
      +email: "ProtonBadger@kbin.social"
      +username: "@ProtonBadger@kbin.social"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1707586194 {#4636
        date: 2024-02-10 18:29:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4653 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4655 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4657 …}
      +entries: Doctrine\ORM\PersistentCollection {#4659 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4661 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4663 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4665 …}
      +posts: Doctrine\ORM\PersistentCollection {#4667 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4669 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4671 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4675 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4677 …}
      +follows: Doctrine\ORM\PersistentCollection {#4679 …}
      +followers: Doctrine\ORM\PersistentCollection {#4681 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4683 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4685 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4687 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +reports: Doctrine\ORM\PersistentCollection {#4691 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4693 …}
      +violations: Doctrine\ORM\PersistentCollection {#4695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4697 …}
      +awards: Doctrine\ORM\PersistentCollection {#4699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4701 …}
      +categories: Doctrine\ORM\PersistentCollection {#4703 …}
      -id: 4360
      -password: "$2y$13$vqkIHVzyMYsZBIik3bABl.XSdKlgw5nNfFOBTVDdII1UFLlkBYJH2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4705 …}
      +apId: "ProtonBadger@kbin.social"
      +apProfileId: "https://kbin.social/u/ProtonBadger"
      +apPublicUrl: "https://kbin.social/u/ProtonBadger"
      +apFollowersUrl: "https://kbin.social/u/ProtonBadger/followers"
      +apInboxUrl: "https://kbin.social/f/inbox"
      +apDomain: "kbin.social"
      +apPreferredUsername: "ProtonBadger"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705254353 {#4637
        date: 2024-01-14 18:45:53.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687123947 {#4638
        date: 2023-06-18 23:32:27.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Most prompt customizers have an option for showing how long last command ran and whether it succeeded/failed or simply prompt timestamp, it's often default. I use Tide, there's also Starship and a number of others. You can also roll your own ofcourse."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699565790 {#4633
      date: 2023-11-09 22:36:30.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4640 …}
    +nested: Doctrine\ORM\PersistentCollection {#4642 …}
    +votes: Doctrine\ORM\PersistentCollection {#4644 …}
    +reports: Doctrine\ORM\PersistentCollection {#4646 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4648 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4650 …}
    -id: 105534
    -bodyTs: "'also':31,40 'command':12 'custom':3 'default':25 'last':11 'long':10 'number':35 'ofcours':44 'often':24 'option':6 'other':37 'prompt':2,20 'ran':13 'roll':41 'show':8 'simpli':19 'starship':32 'succeeded/failed':17 'tide':28 'timestamp':21 'use':27 'whether':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/612744/-/comment/3465102"
    +editedAt: DateTimeImmutable @1699641449 {#4634
      date: 2023-11-10 19:37:29.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699565790 {#4635
      date: 2023-11-09 22:36:30.0 +01:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 14.0 MiB 6.98 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4639
    +user: App\Entity\User {#4652
      +avatar: null
      +cover: null
      +email: "ProtonBadger@kbin.social"
      +username: "@ProtonBadger@kbin.social"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1707586194 {#4636
        date: 2024-02-10 18:29:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4653 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4655 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4657 …}
      +entries: Doctrine\ORM\PersistentCollection {#4659 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4661 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4663 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4665 …}
      +posts: Doctrine\ORM\PersistentCollection {#4667 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4669 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4671 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4675 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4677 …}
      +follows: Doctrine\ORM\PersistentCollection {#4679 …}
      +followers: Doctrine\ORM\PersistentCollection {#4681 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4683 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4685 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4687 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +reports: Doctrine\ORM\PersistentCollection {#4691 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4693 …}
      +violations: Doctrine\ORM\PersistentCollection {#4695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4697 …}
      +awards: Doctrine\ORM\PersistentCollection {#4699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4701 …}
      +categories: Doctrine\ORM\PersistentCollection {#4703 …}
      -id: 4360
      -password: "$2y$13$vqkIHVzyMYsZBIik3bABl.XSdKlgw5nNfFOBTVDdII1UFLlkBYJH2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4705 …}
      +apId: "ProtonBadger@kbin.social"
      +apProfileId: "https://kbin.social/u/ProtonBadger"
      +apPublicUrl: "https://kbin.social/u/ProtonBadger"
      +apFollowersUrl: "https://kbin.social/u/ProtonBadger/followers"
      +apInboxUrl: "https://kbin.social/f/inbox"
      +apDomain: "kbin.social"
      +apPreferredUsername: "ProtonBadger"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705254353 {#4637
        date: 2024-01-14 18:45:53.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687123947 {#4638
        date: 2023-06-18 23:32:27.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Most prompt customizers have an option for showing how long last command ran and whether it succeeded/failed or simply prompt timestamp, it's often default. I use Tide, there's also Starship and a number of others. You can also roll your own ofcourse."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699565790 {#4633
      date: 2023-11-09 22:36:30.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4640 …}
    +nested: Doctrine\ORM\PersistentCollection {#4642 …}
    +votes: Doctrine\ORM\PersistentCollection {#4644 …}
    +reports: Doctrine\ORM\PersistentCollection {#4646 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4648 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4650 …}
    -id: 105534
    -bodyTs: "'also':31,40 'command':12 'custom':3 'default':25 'last':11 'long':10 'number':35 'ofcours':44 'often':24 'option':6 'other':37 'prompt':2,20 'ran':13 'roll':41 'show':8 'simpli':19 'starship':32 'succeeded/failed':17 'tide':28 'timestamp':21 'use':27 'whether':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/612744/-/comment/3465102"
    +editedAt: DateTimeImmutable @1699641449 {#4634
      date: 2023-11-10 19:37:29.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699565790 {#4635
      date: 2023-11-09 22:36:30.0 +01:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#11342
  +comment: App\Entity\EntryComment {#4639
    +user: App\Entity\User {#4652
      +avatar: null
      +cover: null
      +email: "ProtonBadger@kbin.social"
      +username: "@ProtonBadger@kbin.social"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1707586194 {#4636
        date: 2024-02-10 18:29:54.0 +01:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4653 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4655 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4657 …}
      +entries: Doctrine\ORM\PersistentCollection {#4659 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4661 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4663 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4665 …}
      +posts: Doctrine\ORM\PersistentCollection {#4667 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4669 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4671 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4673 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4675 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4677 …}
      +follows: Doctrine\ORM\PersistentCollection {#4679 …}
      +followers: Doctrine\ORM\PersistentCollection {#4681 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4683 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4685 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4687 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4689 …}
      +reports: Doctrine\ORM\PersistentCollection {#4691 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4693 …}
      +violations: Doctrine\ORM\PersistentCollection {#4695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4697 …}
      +awards: Doctrine\ORM\PersistentCollection {#4699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4701 …}
      +categories: Doctrine\ORM\PersistentCollection {#4703 …}
      -id: 4360
      -password: "$2y$13$vqkIHVzyMYsZBIik3bABl.XSdKlgw5nNfFOBTVDdII1UFLlkBYJH2"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4705 …}
      +apId: "ProtonBadger@kbin.social"
      +apProfileId: "https://kbin.social/u/ProtonBadger"
      +apPublicUrl: "https://kbin.social/u/ProtonBadger"
      +apFollowersUrl: "https://kbin.social/u/ProtonBadger/followers"
      +apInboxUrl: "https://kbin.social/f/inbox"
      +apDomain: "kbin.social"
      +apPreferredUsername: "ProtonBadger"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1705254353 {#4637
        date: 2024-01-14 18:45:53.0 +01:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687123947 {#4638
        date: 2023-06-18 23:32:27.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "wolf@lemmy.zip"
        +username: "@wolf@lemmy.zip"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1728543990 {#1536
          date: 2024-10-10 09:06:30.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: false
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: true
        +notifyOnNewEntryCommentReply: true
        +notifyOnNewPost: false
        +notifyOnNewPostReply: true
        +notifyOnNewPostCommentReply: true
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
        +entries: Doctrine\ORM\PersistentCollection {#1631 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
        +posts: Doctrine\ORM\PersistentCollection {#1659 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
        +follows: Doctrine\ORM\PersistentCollection {#1660 …}
        +followers: Doctrine\ORM\PersistentCollection {#1627 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
        +reports: Doctrine\ORM\PersistentCollection {#1425 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
        +violations: Doctrine\ORM\PersistentCollection {#1699 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
        +awards: Doctrine\ORM\PersistentCollection {#1430 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
        +categories: Doctrine\ORM\PersistentCollection {#1645 …}
        -id: 58627
        -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
        +apId: "wolf@lemmy.zip"
        +apProfileId: "https://lemmy.zip/u/wolf"
        +apPublicUrl: "https://lemmy.zip/u/wolf"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.zip/inbox"
        +apDomain: "lemmy.zip"
        +apPreferredUsername: "wolf"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729002026 {#1515
          date: 2024-10-15 16:20:26.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1697268500 {#1516
          date: 2023-10-14 09:28:20.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "linux@lemmy.ml"
        +title: "linux"
        +description: """
          From Wikipedia, the free encyclopedia\n
          \n
          Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
          \n
          Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
          \n
          ### Rules\n
          \n
          - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
          - No misinformation\n
          - No NSFW content\n
          - No hate speech, bigotry, etc\n
          \n
          ### Related Communities\n
          \n
          - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
          - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
          - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
          - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
          \n
          Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 1406
        +entryCommentCount: 28632
        +postCount: 6
        +postCommentCount: 214
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729583542 {#275
          date: 2024-10-22 09:52:22.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 73
        +apId: "linux@lemmy.ml"
        +apProfileId: "https://lemmy.ml/c/linux"
        +apPublicUrl: "https://lemmy.ml/c/linux"
        +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
        +apInboxUrl: "https://lemmy.ml/inbox"
        +apDomain: "lemmy.ml"
        +apPreferredUsername: "linux"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1729583596 {#269
          date: 2024-10-22 09:53:16.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1698929468 {#271
          date: 2023-11-02 13:51:08.0 +01:00
        }
      }
      +image: null
      +domain: Proxies\__CG__\App\Entity\Domain {#1915 …}
      +slug: "Custom-shell-prompt-tips-and-tricks"
      +title: "Custom shell prompt tips and tricks?"
      +url: null
      +body: """
        Recently I stumbled over an article, about how to customize your shell prompt. What really surprised me, is that it lacked one of the most basic tips I learned nearly 20 years back: Always display a timestamp in the prompt, to be able to check how long a process is running or when it ended. (Don’t need it daily, but every so often it saves my butt. ;-)) The other trick is to always have a colorful prompt, to easily discern where output from programs start/stop. In total my PS1 looks like this (with GIT status at the end): [\e[32m]\u[\e[m]@[\e[35m]\h[\e[m] [\e[36m]\A[\e[m] [\e[37m][[\e[m][\e[31m]\w[\e[m][\e[37m]][\e[m]$(__git_ps1 “(%s)”)$\n
        \n
        My question is, what customization, tips and tricks do you have for the shell prompt?
        """
      +type: "article"
      +lang: "en"
      +isOc: false
      +hasEmbed: false
      +commentCount: 19
      +favouriteCount: 27
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1700431405 {#2414
        date: 2023-11-19 23:03:25.0 +01:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1884 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1959 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +children: []
      -id: 11536
      -titleTs: "'custom':1 'prompt':3 'shell':2 'tip':4 'trick':6"
      -bodyTs: "'20':31 '31m':120 '32m':101 '35m':106 '36m':111 '37m':116,125 'abl':43 'alway':34,74 'articl':6 'back':33 'basic':26 'butt':68 'check':45 'color':77 'custom':10,135 'daili':60 'discern':81 'display':35 'e':100,103,105,108,110,113,115,117,119,122,124,126 'easili':80 'end':55,99 'everi':62 'git':95,128 'h':107 'lack':21 'learn':29 'like':92 'long':47 'look':91 'm':104,109,114,118,123,127 'near':30 'need':58 'often':64 'one':22 'output':83 'process':49 'program':85 'prompt':13,40,78,145 'ps1':90,129 'question':132 'realli':15 'recent':1 'run':51 'save':66 'shell':12,144 'start/stop':86 'status':96 'stumbl':3 'surpris':16 'timestamp':37 'tip':27,136 'total':88 'trick':71,138 'u':102 'w':121 'year':32"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1699644087
      +visibility: "visible             "
      +apId: "https://lemmy.zip/post/5328558"
      +editedAt: null
      +createdAt: DateTimeImmutable @1699557687 {#1793
        date: 2023-11-09 20:21:27.0 +01:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: "Most prompt customizers have an option for showing how long last command ran and whether it succeeded/failed or simply prompt timestamp, it's often default. I use Tide, there's also Starship and a number of others. You can also roll your own ofcourse."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1699565790 {#4633
      date: 2023-11-09 22:36:30.0 +01:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@wolf@lemmy.zip"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4640 …}
    +nested: Doctrine\ORM\PersistentCollection {#4642 …}
    +votes: Doctrine\ORM\PersistentCollection {#4644 …}
    +reports: Doctrine\ORM\PersistentCollection {#4646 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4648 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4650 …}
    -id: 105534
    -bodyTs: "'also':31,40 'command':12 'custom':3 'default':25 'last':11 'long':10 'number':35 'ofcours':44 'often':24 'option':6 'other':37 'prompt':2,20 'ran':13 'roll':41 'show':8 'simpli':19 'starship':32 'succeeded/failed':17 'tide':28 'timestamp':21 'use':27 'whether':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/linux@lemmy.ml/t/612744/-/comment/3465102"
    +editedAt: DateTimeImmutable @1699641449 {#4634
      date: 2023-11-10 19:37:29.0 +01:00
    }
    +createdAt: DateTimeImmutable @1699565790 {#4635
      date: 2023-11-09 22:36:30.0 +01:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 14.0 MiB 0.24 ms
Input props
[
  "label" => "Sidebar position"
  "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION"
  "values" => [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  "defaultValue" => "RIGHT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#11453
  +label: "Sidebar position"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION"
  +values: [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  +defaultValue: "RIGHT"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.21 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11525
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.14 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11588
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.15 ms
Input props
[
  "label" => "Infinite scrolling"
  "help" => "Automatically load more content when you reach the bottom of the page."
  "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11644
  +label: "Infinite scrolling"
  +help: "Automatically load more content when you reach the bottom of the page."
  +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.14 ms
Input props
[
  "label" => "Sticky navbar"
  "help" => "The navbar will stick to the top of the page when you scroll down."
  "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11703
  +label: "Sticky navbar"
  +help: "The navbar will stick to the top of the page when you scroll down."
  +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.16 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11759
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.14 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11815
  +label: "Turbo mode (experimental)"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TURBO"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 14.0 MiB 0.28 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#11873
  +label: "Mark new comments"
  +help: ""
  +settingsKey: "KBIN_MARK_NEW_COMMENTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.15 ms
Input props
[
  "label" => "Show "Support Us" block"
  "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#11936
  +label: "Show "Support Us" block"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK"
  +defaultValue: true
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 14.0 MiB 0.18 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#11994
  +label: "Show subscribed users"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_USERS"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 14.0 MiB 0.16 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#12050
  +label: "Show subscribed magazines"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 14.0 MiB 0.33 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#12106
  +label: "Show subscribed domains"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.24 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12162
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.21 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12218
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.23 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12274
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.38 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12330
  +label: "Show magazines’ icons"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.34 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12386
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.28 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12442
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_POSTS_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.23 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12498
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 14.0 MiB 0.28 ms
Input props
[
  "label" => "Comment reply position"
  "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION"
  "values" => [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  "defaultValue" => "TOP"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#12554
  +label: "Comment reply position"
  +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  +settingsKey: "KBIN_COMMENTS_REPLY_POSITION"
  +values: [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  +defaultValue: "TOP"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 14.0 MiB 0.22 ms
Input props
[
  "label" => "Show Comment Avatars"
  "help" => "Display/hide user avatars when viewing comments on a single thread or post."
  "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#12612
  +label: "Show Comment Avatars"
  +help: "Display/hide user avatars when viewing comments on a single thread or post."
  +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR"
  +defaultValue: true
  +reloadRequired: true
}
user_actions App\Twig\Components\UserActionsComponent 14.0 MiB 22.31 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "wolf@lemmy.zip"
    +username: "@wolf@lemmy.zip"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728543990 {#1536
      date: 2024-10-10 09:06:30.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 58627
    -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "wolf@lemmy.zip"
    +apProfileId: "https://lemmy.zip/u/wolf"
    +apPublicUrl: "https://lemmy.zip/u/wolf"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.zip/inbox"
    +apDomain: "lemmy.zip"
    +apPreferredUsername: "wolf"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729002026 {#1515
      date: 2024-10-15 16:20:26.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697268500 {#1516
      date: 2023-10-14 09:28:20.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserActionsComponent {#12689
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "wolf@lemmy.zip"
    +username: "@wolf@lemmy.zip"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728543990 {#1536
      date: 2024-10-10 09:06:30.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1518 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1520 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1632 …}
    +entries: Doctrine\ORM\PersistentCollection {#1631 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1704 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1712 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1468 …}
    +posts: Doctrine\ORM\PersistentCollection {#1659 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1487 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1767 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1638 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1492 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1634 …}
    +follows: Doctrine\ORM\PersistentCollection {#1660 …}
    +followers: Doctrine\ORM\PersistentCollection {#1627 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1419 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1412 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1453 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1432 …}
    +reports: Doctrine\ORM\PersistentCollection {#1425 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1435 …}
    +violations: Doctrine\ORM\PersistentCollection {#1699 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1703 …}
    +awards: Doctrine\ORM\PersistentCollection {#1430 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1595 …}
    +categories: Doctrine\ORM\PersistentCollection {#1645 …}
    -id: 58627
    -password: "$2y$13$jusMlofCDl/tWwkLJF9wDum/ttr1V1XIp.0lGig6MMaQ7C5xK26Vi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1678 …}
    +apId: "wolf@lemmy.zip"
    +apProfileId: "https://lemmy.zip/u/wolf"
    +apPublicUrl: "https://lemmy.zip/u/wolf"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.zip/inbox"
    +apDomain: "lemmy.zip"
    +apPreferredUsername: "wolf"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729002026 {#1515
      date: 2024-10-15 16:20:26.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1697268500 {#1516
      date: 2023-10-14 09:28:20.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
}
date App\Twig\Components\DateComponent 14.0 MiB 0.26 ms
Input props
[
  "date" => DateTimeImmutable @1699557687 {#1793
    date: 2023-11-09 20:21:27.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#12750
  +date: DateTimeImmutable @1699557687 {#1793
    date: 2023-11-09 20:21:27.0 +01:00
  }
}
magazine_box App\Twig\Components\MagazineBoxComponent 14.0 MiB 41.83 ms
Input props
[
  "magazine" => App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  "showSectionTitle" => true
]
Attributes
[]
Component
App\Twig\Components\MagazineBoxComponent {#12806
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  +showCover: true
  +showDescription: true
  +showRules: true
  +showSubscribeButton: true
  +showInfo: true
  +showMeta: true
  +showSectionTitle: true
  +stretchedLink: true
}
magazine_sub App\Twig\Components\MagazineSubComponent 14.0 MiB 0.76 ms
Input props
[
  "magazine" => App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\MagazineSubComponent {#12864
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
}
date App\Twig\Components\DateComponent 14.0 MiB 0.26 ms
Input props
[
  "date" => DateTimeImmutable @1698929468 {#271
    date: 2023-11-02 13:51:08.0 +01:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#13038
  +date: DateTimeImmutable @1698929468 {#271
    date: 2023-11-02 13:51:08.0 +01:00
  }
}
user_inline App\Twig\Components\UserInlineComponent 14.0 MiB 4.00 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#13097
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#13144
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13146 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13148 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13150 …}
    +entries: Doctrine\ORM\PersistentCollection {#13152 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13154 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13156 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13158 …}
    +posts: Doctrine\ORM\PersistentCollection {#13160 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13162 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13164 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13166 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13168 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13170 …}
    +follows: Doctrine\ORM\PersistentCollection {#13172 …}
    +followers: Doctrine\ORM\PersistentCollection {#13174 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13176 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13178 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13180 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13182 …}
    +reports: Doctrine\ORM\PersistentCollection {#13184 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13186 …}
    +violations: Doctrine\ORM\PersistentCollection {#13188 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13190 …}
    +awards: Doctrine\ORM\PersistentCollection {#13192 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13194 …}
    +categories: Doctrine\ORM\PersistentCollection {#13196 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13198 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#13145
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#13115
  +user: Proxies\__CG__\App\Entity\User {#13097
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#13144
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#13146 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#13148 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#13150 …}
    +entries: Doctrine\ORM\PersistentCollection {#13152 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#13154 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#13156 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#13158 …}
    +posts: Doctrine\ORM\PersistentCollection {#13160 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#13162 …}
    +postComments: Doctrine\ORM\PersistentCollection {#13164 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#13166 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#13168 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#13170 …}
    +follows: Doctrine\ORM\PersistentCollection {#13172 …}
    +followers: Doctrine\ORM\PersistentCollection {#13174 …}
    +blocks: Doctrine\ORM\PersistentCollection {#13176 …}
    +blockers: Doctrine\ORM\PersistentCollection {#13178 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#13180 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#13182 …}
    +reports: Doctrine\ORM\PersistentCollection {#13184 …}
    +favourites: Doctrine\ORM\PersistentCollection {#13186 …}
    +violations: Doctrine\ORM\PersistentCollection {#13188 …}
    +notifications: Doctrine\ORM\PersistentCollection {#13190 …}
    +awards: Doctrine\ORM\PersistentCollection {#13192 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#13194 …}
    +categories: Doctrine\ORM\PersistentCollection {#13196 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#13198 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#13145
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: true
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 14.0 MiB 12.80 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#13306
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +title: "related_magazines"
  +refreshedRandom: false
  -repository: App\Repository\MagazineRepository {#333 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
active_users App\Twig\Components\ActiveUsersComponent 14.0 MiB 1.28 ms
Input props
[
  "magazine" => App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\ActiveUsersComponent {#13393
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  -userRepository: App\Repository\UserRepository {#603 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_categories App\Twig\Components\RelatedCategoriesComponent 14.0 MiB 13.46 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#13452
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "related"
  +title: "related_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#13453 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_posts App\Twig\Components\RelatedPostsComponent 14.0 MiB 22.88 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#13523
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +post: null
  +title: "related_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#13522 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#389 …}
}
related_entries App\Twig\Components\RelatedEntriesComponent 14.0 MiB 12.73 ms
Input props
[
  "magazine" => "linux@lemmy.ml"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#13592
  +limit: 4
  +tag: null
  +magazine: "linux@lemmy.ml"
  +type: "magazine"
  +entry: null
  +title: "related_entries"
  +refreshedRandom: false
  -repository: App\Repository\EntryRepository {#270 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#389 …}
}
support_us_block App\Twig\Components\SupportUsBlock 14.0 MiB 2.34 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#13661
  +subject: ? App\Entity\Contracts\VotableInterface
  +url: ? string
  -twig: Twig\Environment {#1252 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -partnerBlockRepository: App\Repository\PartnerBlockRepository {#13662 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 14.0 MiB 8.77 ms
Input props
[
  "magazine" => App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\FeaturedMagazinesComponent {#13750
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "linux@lemmy.ml"
    +title: "linux"
    +description: """
      From Wikipedia, the free encyclopedia\n
      \n
      Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).\n
      \n
      Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.\n
      \n
      ### Rules\n
      \n
      - Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.\n
      - No misinformation\n
      - No NSFW content\n
      - No hate speech, bigotry, etc\n
      \n
      ### Related Communities\n
      \n
      - [!opensource@lemmy.ml](https://lemmy.ml/c/opensource)\n
      - [!libre_culture@lemmy.ml](https://lemmy.ml/c/libre_culture)\n
      - [!technology@lemmy.ml](https://lemmy.ml/c/technology)\n
      - [!libre_hardware@lemmy.ml](https://lemmy.ml/c/libre_hardware)\n
      \n
      Community icon by [Alpár-Etele Méder](https://www.iconfinder.com/pocike), licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 1406
    +entryCommentCount: 28632
    +postCount: 6
    +postCommentCount: 214
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729583542 {#275
      date: 2024-10-22 09:52:22.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 73
    +apId: "linux@lemmy.ml"
    +apProfileId: "https://lemmy.ml/c/linux"
    +apPublicUrl: "https://lemmy.ml/c/linux"
    +apFollowersUrl: "https://lemmy.ml/c/linux/followers"
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "linux"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729583596 {#269
      date: 2024-10-22 09:53:16.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1698929468 {#271
      date: 2023-11-02 13:51:08.0 +01:00
    }
  }
  -twig: Twig\Environment {#1252 …}
  -repository: App\Repository\MagazineRepository {#333 …}
}