File tree Expand file tree Collapse file tree 5 files changed +39
-1
lines changed
Expand file tree Collapse file tree 5 files changed +39
-1
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ export BUN_INSTALL="/home/leoadmin/.bun"
403403export PATH=" $BUN_INSTALL /bin:$PATH "
404404
405405# Dotfiles
406- alias dot=" /usr/bin/git --git-dir=/home/leoadmin/ dotfiles.git --work-tree=/home/leoadmin "
406+ alias dot=" /usr/bin/git --git-dir=$HOME / dotfiles.git --work-tree=$HOME "
407407# Hides all the untracked files in the output
408408dot config --local status.showUntrackedFiles no
409409# only show hidden files
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ REQUIRED_PKG=" fortune"
4+ PKG_OK=$( dpkg-query -W --showformat=' ${Status}\n' $REQUIRED_PKG | grep " install ok installed" )
5+ echo Checking for $REQUIRED_PKG : " $PKG_OK "
6+ if [ " " = " $PKG_OK " ]; then
7+ echo " No $REQUIRED_PKG . Setting up $REQUIRED_PKG ."
8+ sudo apt-get --yes install $REQUIRED_PKG
9+ fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ echo Enter width:
4+ read width
5+
6+ echo Enter height:
7+ read height
8+
9+ echo Enter input image:
10+ read input
11+
12+ echo Enter output image:
13+ read output
14+
15+ # Inkscape older than v1.0
16+ # inkscape -z -w 1024 -h 1024 input.svg -e output.png
17+ inkscape -z -w $width -h $height $input .svg -e png/${output} .png
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Produces a test consisting of 40 random words drawn from your system's dictionary.
4+ alias ttr=" shuf -n 40 /usr/share/dict/words|tt"
5+
6+ # Produces a test consisting of a random quote.
7+ alias ttq=" curl http://api.quotable.io/random|jq '[.text=.content|.attribution=.author]'|tt -quotes -"
8+
9+ # Creates an alias called ttd which keeps a log of progress in your home directory`.
10+ alias ttd=" tt -csv >> ~/wpm.csv"
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ echo " alias C='/usr/bin/git --git-dir=$HOME /dotfiles.git --work-tree=$HOME '" >> $HOME /.zshrc
You can’t perform that action at this time.
0 commit comments