VsCode custom snippets

Base configuration VsCode snippets To create a custom vscode code snippets it’s pretty straightforward Navigate inside vscode File -> Preferences -> User Snippets Select the one based in the visibility In this example “new global snippets file” (with ubuntu it’s saved into ~/.config/Code/User/snippets) The following code defines two snippets: when Read more…

Fun with shell prompt – $PS1

PS1 is a primary prompt variable. This variable displays a default structure to the user that makes a login Standard ubuntu The standard ubuntu PS1 variable looks like: alberto@alberto-5490:~$ Test To test your settings export the PS1 variable with your settings: Make it permanent To make your settings permanent edit your Read more…