mirror of
https://github.com/gaitas13/dotfiles.git
synced 2025-12-05 23:05:37 +01:00
added bash and zsh aliases to separate file
This commit is contained in:
parent
10282a3abd
commit
1d8aff4df1
3 changed files with 8 additions and 2 deletions
3
.bashrc
3
.bashrc
|
|
@ -137,5 +137,4 @@ source "$OSH"/oh-my-bash.sh
|
||||||
# For a full list of active aliases, run `alias`.
|
# For a full list of active aliases, run `alias`.
|
||||||
#
|
#
|
||||||
# Example aliases
|
# Example aliases
|
||||||
# alias bashconfig="mate ~/.bashrc"
|
. ~/custom_aliases
|
||||||
# alias ohmybash="mate ~/.oh-my-bash"
|
|
||||||
|
|
|
||||||
3
.zshrc
3
.zshrc
|
|
@ -109,3 +109,6 @@ source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
|
||||||
|
|
||||||
|
. ~/custom_aliases
|
||||||
|
|
|
||||||
4
custom_aliases
Normal file
4
custom_aliases
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
. "$HOME/.cargo/env"
|
||||||
|
#. "$HOME/.config/emacs/bin"
|
||||||
|
alias fd=fdfind
|
||||||
|
alias doom='$HOME/.config/emacs/bin/doom'
|
||||||
Loading…
Add table
Reference in a new issue