Merge branch 'master' of github.com:cyplo/dotfiles
This commit is contained in:
commit
6e6a43c4c9
2 changed files with 20 additions and 13 deletions
14
README.md
14
README.md
|
@ -4,18 +4,6 @@ e.g. my vim, terminal and font configs.
|
||||||
|
|
||||||
install:
|
install:
|
||||||
clone this repo
|
clone this repo
|
||||||
run install_fedora.sh on fedora, more systems coming soon
|
run install_fedora.sh or install_ubuntu.sh to setup the whole box
|
||||||
|
|
||||||
Fonts:
|
|
||||||
|
|
||||||
[cyryl@dagrey ~]$ cd .local/share/
|
|
||||||
[cyryl@dagrey share]$ rm -fr fonts
|
|
||||||
[cyryl@dagrey share]$ ln -s /home/cyryl/dev/dotfiles/.local/share/fonts .
|
|
||||||
[cyryl@dagrey fontconfig]$ cd
|
|
||||||
[cyryl@dagrey ~]$ cd .config/fontconfig/
|
|
||||||
[cyryl@dagrey fontconfig]$ rm -fr conf.d
|
|
||||||
[cyryl@dagrey fontconfig]$ ln -s /home/cyryl/dev/dotfiles/.config/fontconfig/conf.d .
|
|
||||||
[cyryl@dagrey fontconfig]$ cd
|
|
||||||
[cyryl@dagrey ~]$ fc-cache
|
|
||||||
|
|
||||||
|
|
||||||
|
|
19
tools/cygwinify.sh
Executable file
19
tools/cygwinify.sh
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
RESULT=""
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
if [[ "" != "$arg" ]] && [[ -e $arg ]];
|
||||||
|
then
|
||||||
|
OUT=`cygpath -wa $arg`
|
||||||
|
else
|
||||||
|
if [[ $arg == -* ]];
|
||||||
|
then
|
||||||
|
OUT=$arg
|
||||||
|
else
|
||||||
|
OUT="'$arg'"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
RESULT=$RESULT$OUT" "
|
||||||
|
done
|
||||||
|
echo "$RESULT"
|
||||||
|
|
Loading…
Reference in a new issue