Skip to content

Customizations

octaexon edited this page Jun 1, 2018 · 1 revision

Shell profile

Although our base software build includes a switch to zsh with all that oh-my-zsh wonderfulness, you are of course completely free to maintain your bash affiliation. There is a project to replicate oh-my-zsh for bash, intuitively named oh-my-bash, but the limited testing we have done indicates that the zsh version is nicer (but to each their own).

Importantly, the plugin managers provide command line customizations out of the box. For example, they generally let you know which git branch you are currently on, which is a real headache saver when developing/researching/experimenting. To do this by hand:

cd ~
nano .bash_profile

and append the following lines:

# Show current git branch in command line
parse_git_branch() {
     git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}
export PS1="\[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ 

We have slightly modified a code snippet taken from: https://coderwall.com/p/fasnya/add-git-branch-name-to-bash-prompt

Auxiliary hardware

Here is a small work-in-progress list of auxiliary hardware components that we have picked up along the way. Our intention is to describe in more detail how they aided r&d.

  • DC-DC 5V/2A
  • 3.5" Touch Screen Quimat/TFT LCD Display/HDMI Monitor
  • Asus USB-BT400 Nano Bluetooth-Stick
  • Gpio header
  • Hdmi cable
  • DS3 controller
  • Blind mirror
  • Azdelivery HD44780 1602 LCD Module 2X16 Symbol For Arduino
  • DC/DC Buck Converter 4.5~40V (5V/2A output)

Clone this wiki locally