-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMicrosoft.PowerShell_profile.ps1
More file actions
62 lines (59 loc) · 1.59 KB
/
Copy pathMicrosoft.PowerShell_profile.ps1
File metadata and controls
62 lines (59 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
function prompt {
"$([char]27)[30m┌─($([char]27)[0m" + "$([char]27)[97mGR$([char]27)[0m" + "$([char]27)[30m|$([char]27)[0m" + "$([char]27)[35mᛏᚠ$([char]27)[0m" + "$([char]27)[30m|$([char]27)[0m" + "$([char]27)[90m" + "$((Get-Location).Path.Split("\")[-1])" + "$([char]27)[0m" + "$([char]27)[30m)$([char]27)[0m" + "`n$([char]27)[30m└─$([char]27)[0m🧡 "
}
function comp([string]$Itzel){
$1="$Itzel"+".c"
$2="$Itzel"+"i"
gcc $1 -o $2
Set-Clipboard -Value "./$2"
}
function comp5([string]$Itzel){
$1="$Itzel"+".c"
$2="$Itzel"+"i"
gcc $1 -lm -o5 -o $2
Set-Clipboard -Value ".\$2"
}
function compw([string]$Itzel){
$1="$Itzel"+".c"
$2="$Itzel"+"i"
gcc $1 -Wall -o $2
Set-Clipboard -Value "./$2"
}
function compw5([string]$Itzel){
$1="$Itzel"+".c"
$2="$Itzel"+"i"
gcc $1 -lm -Wall -o5 -o $2
Set-Clipboard -Value ".\$2"
}
function compp([string]$Itzel){
$1="$Itzel"+".cpp"
$2="$Itzel"+"i"
g++ $1 -o $2
Set-Clipboard -Value "./$2"
}
function compp5([string]$Itzel){
$1="$Itzel"+".cpp"
$2="$Itzel"+"i"
g++ $1 -lm -Wall -o5 -o $2
Set-Clipboard -Value ".\$2"
}
function comppw([string]$Itzel){
$1="$Itzel"+".cpp"
$2="$Itzel"+"i"
g++ $1 -Wall -o $2
Set-Clipboard -Value "./$2"
}
function comppw5([string]$Itzel){
$1="$Itzel"+".cpp"
$2="$Itzel"+"i"
g++ $1 -lm -Wall -o5 -o $2
Set-Clipboard -Value ".\$2"
}
function py([string]$Itzel) {
$1="$Itzel"+".py"
python $1
}
function ll {lsd -lh --group-dirs=first}
function la {lsd -a --group-dirs=first}
function l {lsd --group-dirs=first}
function lla {lsd -lha --group-dirs=first}