This commit is contained in:
h0lik
2024-09-29 23:52:56 +04:00
parent b1ab4a6357
commit d16011186b

26
.bashrc
View File

@@ -5,11 +5,11 @@ case $- in
esac esac
# Path to your oh-my-bash installation. # Path to your oh-my-bash installation.
export OSH='/home/a.kurilov/.oh-my-bash' export OSH=~/.oh-my-bash
# Set name of the theme to load. Optionally, if you set this to "random" # Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-bash is loaded. # it'll load a random theme each time that oh-my-bash is loaded.
OSH_THEME="agnoster" OSH_THEME="bakke"
# If you set OSH_THEME to "random", you can ignore themes you don't like. # If you set OSH_THEME to "random", you can ignore themes you don't like.
# OMB_THEME_RANDOM_IGNORED=("powerbash10k" "wanelo") # OMB_THEME_RANDOM_IGNORED=("powerbash10k" "wanelo")
@@ -104,6 +104,7 @@ aliases=(
plugins=( plugins=(
git git
bashmarks bashmarks
sudo
) )
# Which plugins would you like to conditionally load? (plugins can be found in ~/.oh-my-bash/plugins/*) # Which plugins would you like to conditionally load? (plugins can be found in ~/.oh-my-bash/plugins/*)
@@ -142,8 +143,19 @@ source "$OSH"/oh-my-bash.sh
# Example aliases # Example aliases
# alias bashconfig="mate ~/.bashrc" # alias bashconfig="mate ~/.bashrc"
# alias ohmybash="mate ~/.oh-my-bash" # alias ohmybash="mate ~/.oh-my-bash"
alias ll='ls -la' # Mount Folder ansibal gateway
alias ..='cd ..' #alias afup="sshfs root@ansible:/opt/ansible /home/h0lik/dev/ansible"
alias ga="git add ." #alias afdown="fusermount -u /home/h0lik/dev/ansible"
alias gc="git commit -m" #Dev folder ansibal
alias gp="git push -u origin main" #alias af="cd /home/h0lik/dev/ansible"
## Start/Stop VM ansible
#alias agup="sudo virsh start ansible"
#alias agdown="sudo virsh shutdown ansible"
##Connect SSH ansible-gateway
#alias assh="ssh ansible"
#alias devsrv="ssh worksrv"
#alias grep="grep --color=auto"
#alias host-ssh="/home/h0lik/.bin/./ssh-host.sh"
if [ -f ~/.dotfiles/.bash_aliases ]; then
. ~/.dotfiles/.bash_aliases
fi