[shell] moved to a single directory + alias.sh
This commit is contained in:
@@ -7,8 +7,8 @@
|
|||||||
- link:
|
- link:
|
||||||
~/.tmux.conf: tmux.conf
|
~/.tmux.conf: tmux.conf
|
||||||
~/.vim: vim
|
~/.vim: vim
|
||||||
~/.zshrc: zsh/zshrc
|
~/.zshrc: shell/zsh/zshrc
|
||||||
~/.bashrc: bash/bashrc
|
~/.bashrc: shell/bash/bashrc
|
||||||
|
|
||||||
- asdf:
|
- asdf:
|
||||||
- plugin: vim
|
- plugin: vim
|
||||||
|
|||||||
2
shell/alias.sh
Normal file
2
shell/alias.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
alias l="ls -lah"
|
||||||
|
alias lg="lazygit"
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
source ~/.dotfiles/git/git-prompt.sh
|
source ~/.dotfiles/git/git-prompt.sh
|
||||||
|
source ~/.dotfiles/shell/alias.sh
|
||||||
PROMPT_COMMAND='PS1_CMD1=$(__git_ps1 " [%s]")'; PS1='\[\e[38;5;117m\]\u\[\e[0m\] \w${PS1_CMD1}\$ '
|
PROMPT_COMMAND='PS1_CMD1=$(__git_ps1 " [%s]")'; PS1='\[\e[38;5;117m\]\u\[\e[0m\] \w${PS1_CMD1}\$ '
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
source ~/.dotfiles/shell/alias.sh
|
||||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||||
if type brew &>/dev/null
|
if type brew &>/dev/null
|
||||||
then
|
then
|
||||||
Reference in New Issue
Block a user