add calculator func
This commit is contained in:
parent
fcd4240435
commit
70d4f60c54
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
c() { printf "%s\n" "$@" | bc -l; }
|
1
.zshrc
1
.zshrc
|
@ -30,6 +30,7 @@ source $ZSH/oh-my-zsh.sh
|
||||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
|
||||||
source "$SCRIPTS/alias.sh"
|
source "$SCRIPTS/alias.sh"
|
||||||
|
source "$SCRIPTS/func.sh"
|
||||||
|
|
||||||
# start ssh-agent automatically
|
# start ssh-agent automatically
|
||||||
ssh-agent
|
ssh-agent
|
||||||
|
|
Loading…
Reference in New Issue