Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
 
Options:
RSS cloud
Jump to:

iTerm2 - Auto Coloring

1 of 390 articles shown, currently no other people reading this forum.
photo
From: David T.
Date: Wed 6th May, 2:32pm
Actions: 
        Login-to-reply

 

Hi Chris,
In the 23/4/2020 lecture recording, I noticed that you were using iTerm2 on MacOSX and 
managed to get it to recognise and automatically colour variables, commands, strings etc 
for easy readability by either:
1. adding this shebang to the header: #!/bin/bash. or
2. adding the .sh extension to a shell file

I haven't managed to replicate this sucessfully.
Where am I going wrong? Can you please provide further instruction?

Thanks,
David

Related articles

iTerm2 - Auto Coloring (all 5) RSS
├─ THIS   Wed 6th May, 2:32pm, David T.
├─ reply 1   Wed 6th May, 4:59pm, Christopher M.
├─ reply 2   Sat 9th May, 2:24pm, David T.  O.P.
├─ reply 3   Mon 11th May, 4:04pm, David T.  O.P.
└─ reply 4   Mon 11th May, 5:06pm, Christopher M.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  3:57pm Aug 06 2020