From f13815efce733d23ba7dc1003d0decde09fccd4c Mon Sep 17 00:00:00 2001 From: mitsuo Date: Mon, 22 Nov 2021 04:42:22 -0500 Subject: General cleanup, make bashrc safer - Add "if-fi wrappers" before executing some commands in bashrc - Attempt in organizing things better in bashrc, profile and bash_aliases. (Like moving some env. var. exports to bashrc --- bash_aliases | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'bash_aliases') diff --git a/bash_aliases b/bash_aliases index e78483c..89ea6e0 100644 --- a/bash_aliases +++ b/bash_aliases @@ -16,17 +16,7 @@ alias la='ls -A' alias ll='ls -l -h' alias lla='ll -A' alias ls='ls --color=auto --group-directories-first --classify' -#alias less='less -Ri' # make less's searches case insensitive and - # colorized -# TODO move to an appropiate place: -LESS="-i --RAW-CONTROL-CHARS"; -export LESS - -LINDOAPI_HOME=/home/mitsuo/code/LINDO/lindoapi -export LINDOAPI_HOME -LINDOAPI_LICENSE_FILE="$LINDOAPI_HOME/license/lndapi130.lic" -export LINDOAPI_LICENSE_FILE alias gcc='gcc -g -std=c99 -lm' alias ed='ed -p "* "' alias diff='diff -s' @@ -60,8 +50,8 @@ alias mpv_nhk_720p='mpv "https://nhkwlive-ojp.akamaized.net/hls/live/2003459/nhk alias scan_dpto_europa='hp-scan --mode=color --device=hpaio:/net/OfficeJet_Pro_6970?ip=192.168.0.7' #alias java8='~/code/openjdk8/jdk8u265-b01/bin/java' #alias javac8='~/code/openjdk8/jdk8u265-b01/bin/javac' -alias inf265_jupyterlab='cd "/home/mitsuo/docs/courses/2021-1/INF265"; \ - jupyter lab' +#alias inf265_jupyterlab='cd /home/mitsuo/docs/courses/2021-1/INF265; \ +# jupyter lab' # Cosmetic @@ -71,5 +61,3 @@ alias :q='cowsay -d "this isn'\''t Vim"' # To scape single quotes in single # string and add the scaped quote # (\'). alias :w="cowsay -b \"this isn't Vim\"" -alias miola='cowsay -e ^^ "te extraño, mi galletita"' -alias miola2='cowsay -e ^^ "🌊Nandita 💃 bonita 🌊"' -- cgit v1.2.3