commit db84a2b906b2e6441281e698e649006bcb123bf9 parent 34518fa716d0c2386d252bc3e0648efda0509e49 Author: oscarbenedito <oscar@obenedito.org> Date: Mon, 25 Nov 2019 18:54:11 +0100 Added configuration for fme-desktop computers Diffstat:
M | dot_bash_aliases.tmpl.md | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/dot_bash_aliases.tmpl.md b/dot_bash_aliases.tmpl.md @@ -14,12 +14,21 @@ alias clear="printf '\033c'" Alias to update the system, diferent for Debian or Arch. ``` file dot_bash_aliases.tmpl +{{ if ne .chezmoi.hostname "fme-desktop" -}} alias upgrade=" {{- if eq .chezmoi.osRelease.id "debian" -}} sudo apt-get update && sudo apt-get upgrade {{- else -}} sudo pacman -Syyu {{- end }}" +{{- end }} +``` + +Alias to run VSCode on computer where I can't install programs +``` file dot_bash_aliases.tmpl +{{- if eq .chezmoi.hostname "fme-desktop" -}} +alias vscode="$HOME/KOLMOGOROV/VSCode-linux-x64/bin/code" +{{- end }} ``` ## Backups