fedora bashrc updates

main
Matt Clark 2022-04-19 15:12:14 +01:00 committed by CrimsonTome
parent 7365189f0e
commit a4263419b2
2 changed files with 22 additions and 2 deletions

15
.gitconfig Normal file
View File

@ -0,0 +1,15 @@
[user]
name = CrimsonTome
email = crimsontome427@gmail.com
[author]
name = Matt Clark
email = 4matt2clark7@gmail.com
[url "git@github.com:"]
insteadOf = https://github.com/
[url "git@github.com:"]
insteadOf = https://github.com/
[url "ssh://git@github.com:"]
insteadOf = https://github.com/
[pull]
rebase = true

View File

@ -28,10 +28,10 @@ unset rc
PS1=$"\w\n💻"$(tput blink)"-> "$(tput sgr0)
PS1=$"\w\n`whoami`💻`hostname`"$(tput blink)"-> "$(tput sgr0)
alias ls='ls -Al --color=auto'
alias ls='ls -Alh --color=auto'
alias di='sudo dnf install'
alias dud='sudo dnf update -y'
alias ds='dnf search'
@ -191,6 +191,11 @@ gittimemachine() {
git reset HEAD@{$index}
# magic time machine
}
gitcloneorg() {
read -p "Enter org name: " name
GHORG={$name}; curl "https://api.github.com/orgs/$GHORG/repos?per_page=1000" | grep -o 'git@[^"]*' | xargs -L1 git clone
}
#PF_INFO="ascii title os host kernel uptime shell wm de"
#PF_ASCII="fedora" pfetch|lolcat #displays sysem info on bash startup