#!/bin/bash ## Choose Default Programs ## These variables are used by both my own scripts and other programs ## when deciding what program to use for certain purposes. ## I will endeavour to provide a description for each variable EDITOR='nvim' # - Traditionally EDITOR is used to choose a line based file editor # however, since line based editors are rather uncommon I instead # set it to be a screen based editor. VISUAL=$EDITOR # - VISUAL is used for screen based file editors, so named because # you use them to work on a whole screen of text at a time. # Here I set it to the value of EDITOR TERMINAL='foot' # - TERMINAL sets the graphical terminal emulator that you want to use. # for the moment I use foot but you might wish to use something else BROWSER='msedge' # - BROWSER sets what is used to handle URLs in theory you could set # this to a script that loads different programs based on what the URL # is, but most people just set it to a web browser. export EDITOR VISUAL TERMINAL BROWSER