iterm profile guid fix, home man update

This commit is contained in:
Chen Asraf
2021-12-04 20:15:19 +02:00
parent 311032700f
commit f0ca7c30fa
4 changed files with 16 additions and 21 deletions

26
home.sh
View File

@@ -22,9 +22,6 @@ __home_print_help_arg() {
__home_do_install() {
__home_prepare_dir
# BEGIN
# Add install actions to perform here.
# iTerm dynamic profile
echo_cyan "Linking Profiles.json..."
ln -f ./synced/Profiles.json "$HOME/Library/Application Support/iTerm2/DynamicProfiles/Profiles.json"
@@ -32,18 +29,17 @@ __home_do_install() {
# Manfile
man_out_dir="./man/man7"
man_src_dir="./man_src"
man_file="home.7"
man_files=$(ls $man_src_dir)
# if [[ ! -f "$man_out_dir/$man_file.gz" ]]; then
echo_cyan "Copying MAN page..."
mkdir -p $man_out_dir
rm -f $man_out_dir/$man_file.gz
cp $man_src_dir/$man_file $man_out_dir/$man_file
gzip $man_out_dir/$man_file
rm -f $man_out_dir/$man_file
# fi
# END
for man_file in $man_files; do
rm -f $man_out_dir/$man_file.gz
cp $man_src_dir/$man_file $man_out_dir/$man_file
gzip $man_out_dir/$man_file
rm -f $man_out_dir/$man_file
done
__home_revert_dir
}
@@ -80,18 +76,18 @@ home() {
git push
__home_revert_dir
;;
reload)
reload | rl)
reload-zsh
return 0
;;
refresh)
refresh | rr)
source ./home.sh
return 0
;;
install)
install | i)
__home_do_install
;;
help | -h)
help | -h | h)
__home_print_help
return 0
;;

View File

@@ -9,9 +9,10 @@ home [COMMAND]
rhome [COMMAND]
.SH DESCRIPTION
home is a command for managing dotfiles across the system.
.P
.P
rhome is a complementary command that runs
.B home reload
.I "home reload"
before running the supplied command
.SH OPTIONS
home takes one command:
@@ -28,9 +29,7 @@ home takes one command:
help
-h Dislpay help file
.\" .SH SEE ALSO
.\" git(1)
.SH BUGS
No known bugs.
See https://github.com/chenasraf/dotfiles/issues
.SH AUTHOR
Chen Asraf (contact@casraf.com)

Binary file not shown.

View File

@@ -361,7 +361,7 @@
},
"Custom Directory": "Recycle",
"Transparency": 0,
"Guid": "F5FB9C94-2223-4D67-AA94-93799F2AB7F3",
"Guid": "650b63bd-771b-47fd-b209-020a5fc9bc66",
"Ansi 6 Color": {
"Red Component": 0.16470588235294117,
"Color Space": "sRGB",