mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 14:47:02 +08:00
remove ^M in hist
This commit is contained in:
parent
81e83ab956
commit
d0f6ef240e
|
@ -26,7 +26,7 @@ main()
|
|||
if [[ -z "$k" ]]; then
|
||||
continue
|
||||
fi
|
||||
(curl -fsSL "https://pastebin.com/raw/$k" && echo) | do_append
|
||||
(curl -fsSL "https://pastebin.com/raw/$k" && echo) | sed 's/\r//' | do_append
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
@ -49,9 +49,9 @@ git reset --hard $DFS_VERSION
|
|||
|
||||
# then check install.sh
|
||||
./install.sh -dx DFS_CI=1 -H e153a2eL,f8At3iFw
|
||||
grep -q "testhist 1" ~/.zsh_history
|
||||
grep -q "testhist 4" ~/.zsh_history
|
||||
grep -q "DFS_CI=1" ~/.config/dotfiles/env
|
||||
grep -qx "testhist 1" ~/.zsh_history
|
||||
grep -qx "testhist 4" ~/.zsh_history
|
||||
grep -qx "DFS_CI=1" ~/.config/dotfiles/env
|
||||
./install.sh -l -x DFS_CI=1
|
||||
dfs version
|
||||
test `git rev-parse HEAD` = `curl -fsSL https://api.beardic.cn/get-var/dfs-commit-id`
|
||||
|
|
Loading…
Reference in New Issue
Block a user