Skip to content

Instantly share code, notes, and snippets.

@uthantvicentin
Created January 10, 2021 15:14
Show Gist options
  • Select an option

  • Save uthantvicentin/8c92030ea72d143d8860b61fe010990b to your computer and use it in GitHub Desktop.

Select an option

Save uthantvicentin/8c92030ea72d143d8860b61fe010990b to your computer and use it in GitHub Desktop.
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
#export LANG=en_US.utf8
alias monta="udisksctl mount -b /dev/sdb1"
alias ls='ls --color=auto'
alias rm="rm -i"
alias deepl="yarn exec deepl"
alias show="./a.out < in > out && cat out"
alias safe="cd /run/media/usuario/Linux/Download/tor-browser_en-US/ && ./start-tor-browser.desktop && cd ~"
alias copia="xclip -selection clipboard -t image/png -i"
alias troca="xmodmap .Xmodmap"
modelo="GAOMON Gaomon Tablet stylus"
alias pen1="xinput map-to-output 26 eDP-1"
alias pen2="xinput map-to-output 26 HDMI-1"
alias rb="xsetwacom set '$modelo' button 2 key Ctrl Z"
alias fixandroid="export _JAVA_AWT_WM_NONREPARENTING=1"
PS1="\[$(tput setaf 166)\]\u";
PS1+="\[$(tput setaf 228)\]@\h ";
PS1+="\[$(tput setaf 71)\]\W -> ";
PS1+="\[$(tput sgr0)\]";
export PS1;
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/usuario/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/usuario/anaconda3/etc/profile.d/conda.sh" ]; then
. "/home/usuario/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/home/usuario/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
#Android ADB
export PATH="$PATH:/home/usuario/Android/Sdk/platform-tools/"
export PATH="$PATH:/home/usuario/snap/flutter/common/flutter/bin"
export PATH=$HOME/gems/bin:$PATH
export tGEM_HOME=$HOME/gems
set -o vi
# Install Ruby Gems to ~/gems
export GEM_HOME="$HOME/gems"
export PATH="$HOME/gems/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment