ChrisTitusTech / website

My HUGO Website that I use for Videos, Blogs, and Redirects
82 stars 43 forks source link

beautiful-bash/ #68

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Beautiful Bash

Having Fun with Technology

https://christitus.com/beautiful-bash/

centuryboy774 commented 5 months ago

The script is broken. I installed it but the end and back part have the symbol and don't look pretty like in the video. I used to use hyper-land and it worked fine but im using gnome on fedora 40 and I see the symbol so it looks unfinished.

centuryboy774 commented 5 months ago

Also getting the previous errors:

bash: compdef: command not found...
bash: compdef: command not found...
bash: compdef: command not found...
bash: compdef: command not found...
bash: compdef: command not found...
bash: compdef: command not found...
bash: /home/mrgeebee/.bashrc: line 732: syntax error: unexpected end of file

On Arch.

Hello there! I have figured out why this error happens! Im not sure why but there is a chunk of text that causes, after talking to some people and chatting with some Ai chatbots I figured it out. Go into your .bashrc file and remove all of the following text and then restart your terminal, IE shut down all instances of your terminal and open it up again.

The evil text that is causing the issue >:)

Aliases git

alias g='git' compdef g=git alias gst='git status' compdef _git gst=git-status alias gcl='git clone --recurse-submodules' compdef _git gcl=git-clone alias gl='git pull' compdef _git gl=git-pull alias gup='git fetch && git rebase' compdef _git gup=git-fetch alias gp='git push' compdef _git gp=git-push gdv() { git diff -w "$@" | view - } compdef _git gdv=git-diff alias gc='git commit -v' compdef _git gc=git-commit alias gca='git commit -v -a' compdef _git gca=git-commit alias gco='git checkout' compdef _git gco=git-checkout alias gcm='git checkout master' alias gb='git branch' compdef _git gb=git-branch alias gba='git branch -a' compdef _git gba=git-branch alias gcount='git shortlog -sn' compdef gcount=git alias gcp='git cherry-pick' compdef _git gcp=git-cherry-pick alias glg='git log --stat --max-count=5' compdef _git glg=git-log alias glgg='git log --graph --max-count=5' compdef _git glgg=git-log alias gss='git status -s' compdef _git gss=git-status alias ga='git add' compdef _git ga=git-add alias gm='git merge' compdef _git gm=git-merge alias grh='git reset HEAD' alias grhh='git reset HEAD --hard' compdef _git grhh=git-reset-hard alias gsbm='git submodule update --init --remote --force --recursive' compdef _git gsbm='git-submodule-update'

eznewo commented 5 months ago

I have the same error, bash: compdef: command not found... bash: compdef: command not found... bash: compdef: command not found... bash: compdef: command not found... bash: compdef: command not found... bash: compdef: command not found... bash: /home/mrgeebee/.bashrc: line 732: syntax error: unexpected end of file

I have tried on Ubuntu 22.04 . Help will be appreciated.

eznewo commented 5 months ago

Thank you @centuryboy774. I commented out and the issue solved.

siddheshgunjal commented 5 months ago

Also getting the previous errors:

bash: compdef: command not found...
bash: compdef: command not found...
bash: compdef: command not found...
bash: compdef: command not found...
bash: compdef: command not found...
bash: compdef: command not found...
bash: /home/mrgeebee/.bashrc: line 732: syntax error: unexpected end of file

On Arch.

Hello there! I have figured out why this error happens! Im not sure why but there is a chunk of text that causes, after talking to some people and chatting with some Ai chatbots I figured it out. Go into your .bashrc file and remove all of the following text and then restart your terminal, IE shut down all instances of your terminal and open it up again.

The evil text that is causing the issue >:)

Aliases git

alias g='git' compdef g=git alias gst='git status' compdef _git gst=git-status alias gcl='git clone --recurse-submodules' compdef _git gcl=git-clone alias gl='git pull' compdef _git gl=git-pull alias gup='git fetch && git rebase' compdef _git gup=git-fetch alias gp='git push' compdef _git gp=git-push gdv() { git diff -w "$@" | view - } compdef _git gdv=git-diff alias gc='git commit -v' compdef _git gc=git-commit alias gca='git commit -v -a' compdef _git gca=git-commit alias gco='git checkout' compdef _git gco=git-checkout alias gcm='git checkout master' alias gb='git branch' compdef _git gb=git-branch alias gba='git branch -a' compdef _git gba=git-branch alias gcount='git shortlog -sn' compdef gcount=git alias gcp='git cherry-pick' compdef _git gcp=git-cherry-pick alias glg='git log --stat --max-count=5' compdef _git glg=git-log alias glgg='git log --graph --max-count=5' compdef _git glgg=git-log alias gss='git status -s' compdef _git gss=git-status alias ga='git add' compdef _git ga=git-add alias gm='git merge' compdef _git gm=git-merge alias grh='git reset HEAD' alias grhh='git reset HEAD --hard' compdef _git grhh=git-reset-hard alias gsbm='git submodule update --init --remote --force --recursive' compdef _git gsbm='git-submodule-update'

This does resolve the issue.

Thanks @centuryboy774 for a quick fix solution

Roshanbhadauriya commented 3 months ago

i run this and this comes out:

to run me , you need :curl group sudo . how to fix this

AbdullahKhanIE commented 3 months ago

i run this and this comes out:

to run me , you need :curl group sudo . how to fix this

Roshanbhadauriya

install curl then run the script, if doesnt work then run with sudo

Sac4GitHub commented 2 months ago

sachin@sachin-VirtualBox:~/github/mybash$ ./setup.sh Cloning mybash repository into: /home/sachin/linuxtoolbox/mybash Cloning into '/home/sachin/linuxtoolbox/mybash'... remote: Enumerating objects: 397, done. remote: Counting objects: 100% (281/281), done. remote: Compressing objects: 100% (154/154), done. remote: Total 397 (delta 179), reused 189 (delta 123), pack-reused 116 Receiving objects: 100% (397/397), 114.05 KiB | 624.00 KiB/s, done. Resolving deltas: 100% (197/197), done. Successfully cloned mybash repository Using apt Using sudo as privilege escalation software Super user group sudo Installing dependencies... ./setup.sh: 134: [[: not found [sudo] password for sachin:
Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package fastfetch

This is what happens to me on Linux mint inside Oracle VM

Sac4GitHub commented 2 months ago

If you are using Linux Mint Then run this cmd before runnig the script.

sudo add-apt-repository ppa:zhangsongcui3371/fastfetch sudo apt update sudo apt install fastfetch

This fixed it for me on Linux Mint 21.3 virginia. It works 👍.

beppeilgommista commented 1 month ago

Hi everyone, is the first time i try to """contribute""" to a project. while trying this script on fedora 40 kde during font install i got the error "--show-progress is not a valid argoument"

i found and delete the argument @ line 152 in "setup.sh"

after that everything works perfectly without any error.

sorry if it's a very trivial error/fix. hope this will help someone