See sister commit Propagate nomenclature update of "master" to "user".
, in the Spectre Desktop repository (not the repo this commit is in).
Hi,
I want to use Spectre in CLI with ZSH.
Can you please advise the coding for .zshrc
file?
This coding is not working:
## Added by Spectre
#source bashlib
spectre() {
_copy() {
if hash pbcopy 2>/dev/null; then
pbcopy
elif hash xclip 2>/dev/null; then
xclip -selection clip
else
cat; echo 2>/dev/null
return
fi
echo >&2 "Copied!"
}
# Empty the clipboard
:| _copy 2>/dev/null
# Ask for the user's name and password if not yet known.
SPECTRE_USERNAME=${SPECTRE_USERNAME:-$(ask 'Your Full Name:')}
# Start Spectre and copy the output.
printf %s "$(SPECTRE_USERNAME=$SPECTRE_USERNAME command spectre "$@")" | _copy
}
export SPECTRE_USERNAME=Joe\ Smith
THX
Hi,
I want to use Spectre in CLI with ZSH.
Can you please advise the coding for .zshrc
file?
This coding is not working:
## Added by Spectre
#source bashlib
spectre() {
_copy() {
if hash pbcopy 2>/dev/null; then
pbcopy
elif hash xclip 2>/dev/null; then
xclip -selection clip
else
cat; echo 2>/dev/null
return
fi
echo >&2 "Copied!"
}
# Empty the clipboard
:| _copy 2>/dev/null
# Ask for the user's name and password if not yet known.
SPECTRE_USERNAME=${SPECTRE_USERNAME:-$(ask 'Your Full Name:')}
# Start Spectre and copy the output.
printf %s "$(SPECTRE_USERNAME=$SPECTRE_USERNAME command spectre "$@")" | _copy
}
export SPECTRE_USERNAME=Joe\ Smith
THX
Maarten Billemont (1d7c4a79) at 14 Jan 16:16
More reliable check for fixed enum support.
Maarten Billemont (06243e26) at 05 Aug 01:13
Style improvements & spectre_type_templates API fix.
Maarten Billemont (ff94a80c) at 24 Jul 06:45
Fix use of buffer after free.
Maarten Billemont (0a374632) at 17 Jun 03:17
Type out the empty type features state.
Maarten Billemont (8beced01) at 09 Jun 04:27
Update source code license terms.
Maarten Billemont (61bc1b23) at 30 Apr 13:07
Merge branch 'main' of gitlab.com:spectre.app/api
... and 2 more commits
Maarten Billemont (29fa4a58) at 05 Mar 20:58
Compatibility with compilers that do not provide feature checking m...
Maarten Billemont (4b979bbb) at 03 Mar 21:32
Fixed new -Welaborated-enum-base in clang 11+
Maarten Billemont (3611ee5d) at 28 Feb 16:15
Rename some lingering internal MP prefixes.
Maarten Billemont (69f0055b) at 28 Feb 15:20
Fixed site key memory leak.
Maarten Billemont (84063c5a) at 26 Feb 07:47
Describe algorithm versions and annotate with dates.
Maarten Billemont (996a07e1) at 22 Feb 18:06
Reformat codebase.
Created by: arnold-maderthaner
It would be great to have a possibility to sync the sites created with the settings (like which password type,version is used atm) between devices as it needs to be remembered at the moment. I already have some sites that don't work with the default "long" type password and had to switch to a simpler one. If I need to login now on another device to the site I need to remember which type of password (and version) I used. So synching this settings across devices would make the solution much easier :)